|
|
@@ -127,6 +127,8 @@ func AutoCachingEggPointStatistics(engine *xorm.Engine) { |
|
|
|
parts := strings.Split(esIndexName, "_") |
|
|
|
yearAndWeekStr := parts[len(parts)-1] |
|
|
|
redisKey := fmt.Sprintf(md2.AutoCachingEggPointRedisKey, yearAndWeekStr) |
|
|
|
// 更新缓存 |
|
|
|
cache.Del(redisKey) |
|
|
|
cache.SetJson(redisKey, tempWeek, -1) |
|
|
|
} |
|
|
|
fmt.Println("----------------------------AutoCachingEggPointStatistics_end-------------------------------") |
|
|
|