瀏覽代碼

日志增加游戏id打印

dos 1 月之前
父節點
當前提交
ccdebbf448

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

@@ -144,12 +144,12 @@ public class AppGameBettingController extends BaseController{
             }
 
             if(StringUtils.isBlank(appGame.getGameDate())){
-                logger.info("用户{},下注失败期号不存在:{}",gameBetting.getUserId(),gameBetting.getGameDate());
+                logger.info("用户{},游戏id:{},游戏名称,下注失败期号不存在:{}",gameBetting.getUserId(),appGame.getId(),appGame.getName(),gameBetting.getGameDate());
                 return HttpRet.fail("游戏期号不存在,无法下单。");
             }
 
             if(!appGame.getGameDate().equals(gameBetting.getGameDate())){
-                logger.info("用户{},下注失败期号不匹配,系统期号{},前端期号{}",gameBetting.getUserId(),appGame.getGameDate(),gameBetting.getGameDate());
+                logger.info("用户{},下注失败期号不匹配,游戏id:{},游戏名称{},系统期号{},前端期号{}",gameBetting.getUserId(),appGame.getId(),appGame.getName(),appGame.getGameDate(),gameBetting.getGameDate());
                 return HttpRet.fail("游戏期号不匹配,无法下单。");
             }