|
@@ -442,13 +442,11 @@ func (pwp *PortraitProjectScreen) FreePortraitNews(mustQueryArr []string, isWinn
|
|
|
}
|
|
|
}
|
|
|
if isTrue {
|
|
|
- go func() {
|
|
|
- redis.Put("other", redisKey, map[string]interface{}{
|
|
|
- "list": dataArr,
|
|
|
- "total": total,
|
|
|
- "updateTime": updateTime,
|
|
|
- }, 24*3600*config.Config.PortraitDynamicTime)
|
|
|
- }()
|
|
|
+ redis.Put("other", redisKey, map[string]interface{}{
|
|
|
+ "list": dataArr,
|
|
|
+ "total": total,
|
|
|
+ "updateTime": updateTime,
|
|
|
+ }, 24*3600*config.Config.PortraitDynamicTime)
|
|
|
}
|
|
|
}
|
|
|
data = &dataArr
|