Ver Fonte

修改代码生成

kk há 8 meses atrás
pai
commit
867869d4ef

+ 4 - 0
game-business/src/main/java/com/game/business/controller/AppGameBettingController.java

@@ -75,6 +75,10 @@ public class AppGameBettingController extends BaseController{
             return error("游戏倒计时不存在,无法下单。");
         }
 
+        if(!appGame.getGameTime().contains(":")){
+            return error("游戏已封盘,无法下单。");
+        }
+
         String[] timeArry = appGame.getGameTime().substring(0, 4).split(":");
         int m = Integer.parseInt(timeArry[1]);