kk 3 сар өмнө
parent
commit
8fe19a2b4d

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

@@ -198,11 +198,11 @@ public class AppGameBettingController extends BaseController{
 
         if(gameBetting.getBettingType() == 0){
             finTranRecord.setCurrencyType(4);
-            finTranRecord.setDiamondCoinChange(gameBetting.getBettingAmount());
+            finTranRecord.setDiamondCoinChange(gameBetting.getBettingAmount() * -1);
             finTranRecord.setCoinChange(0.00);
         }else{
             finTranRecord.setCurrencyType(2);
-            finTranRecord.setCoinChange(gameBetting.getBettingAmount());
+            finTranRecord.setCoinChange(gameBetting.getBettingAmount() * -1);
             finTranRecord.setDiamondCoinChange(0.00);
         }