Browse Source

超能倒计时判断

kk 1 month ago
parent
commit
48839f61c8

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

@@ -138,6 +138,12 @@ public class AppGameBettingTask {
                 }
                 }
             }
             }
 
 
+            if(gameCode.equals(Common.GAME_FIVE_CODE)){
+                if(state == null || state != 1){
+                    return;
+                }
+            }
+
             AppGame appGame = codeGameMap.get(gameCode).get(0);
             AppGame appGame = codeGameMap.get(gameCode).get(0);
             appGame.setGameTime(time);
             appGame.setGameTime(time);
             appGameService.updateAppGame(appGame);
             appGameService.updateAppGame(appGame);