Browse Source

update

master
shenjiachi 1 day ago
parent
commit
4b11451d2f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/task/svc/svc_auto_caching_egg_point_statistics.go

+ 2
- 0
app/task/svc/svc_auto_caching_egg_point_statistics.go View File

@@ -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-------------------------------")


Loading…
Cancel
Save