1
0

2 İşlemeler 4cb6eb8cc1 ... 98896e846f

Yazar SHA1 Mesaj Tarih
  kk 98896e846f Merge remote-tracking branch 'origin/master' 1 ay önce
  kk 1b015923d0 修改金币下注类型判断 1 ay önce

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