shenjiachi 3 giorni fa
parent
commit
4b11451d2f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 Vedi 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-------------------------------")


||||||
x
 
000:0
Caricamento…
Annulla
Salva