Эх сурвалжийг харах

Merge branch 'dev/v4.8.70_dx' of qmx/jy into feature/v4.8.70

duxin 1 жил өмнө
parent
commit
ce4790c70f

+ 5 - 7
src/jfw/modules/bigmember/src/entity/portrait_screen.go

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