2 次代码提交 4cb6eb8cc1 ... 98896e846f

作者 SHA1 备注 提交日期
  kk 98896e846f Merge remote-tracking branch 'origin/master' 1 月之前
  kk 1b015923d0 修改金币下注类型判断 1 月之前

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

@@ -412,10 +412,17 @@ public class AppGameBettingController extends BaseController{
             finTranRecord.setSceneType(0L);
 
             finTranRecord.setTranGroupId(gameBetting.getId());
-            finTranRecord.setTranType1(FinTranType1.U_Outcome_Balance.getType());
+
+            if(gameBetting.getBettingType() == 0){
+                finTranRecord.setTranType1(FinTranType1.U_Outcome_Balance.getType());
+            }else{
+                finTranRecord.setTranType1(FinTranType1.U_Outcome_Coin.getType());
+            }
+
             finTranRecord.setTranType2(FinTranType2.CONSUM_GAME.getType());
             finTranRecord.setTranType3(FinTranType3.CONSUM_GAME_ANCHOR_ZHUANPAN.getType());
 
+
             finTranRecord.setRemarks("游戏下注");
 
             finTranRecord.setConsumptionCoin(gameBetting.getBettingAmount());