Browse Source

方法增加

dos 3 months ago
parent
commit
c7ca669468

+ 5 - 0
game-business/src/main/java/com/game/business/task/AppGameBettingTask.java

@@ -44,6 +44,9 @@ public class AppGameBettingTask {
     @Autowired
     private RedisCache redisCache;
 
+    @Autowired
+    private IAppUserCountService appUserCountService;
+
     @Async("asyncExecutor")
     public void gameDataTask(String message, String gameCodeFinal){
 
@@ -219,6 +222,8 @@ public class AppGameBettingTask {
             }
 
             this.gameBettingTask(appGameClassify.getId(), appGame.getId(), gameDate, gameLotterySucc);
+
+            appUserCountService.staticsUserCount(appGame.getId(),null);
         }
 
     }