1
0

2 Commity 4cb6eb8cc1 ... 98896e846f

Autor SHA1 Wiadomość Data
  kk 98896e846f Merge remote-tracking branch 'origin/master' 1 miesiąc temu
  kk 1b015923d0 修改金币下注类型判断 1 miesiąc temu

+ 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());