@@ -2720,7 +2720,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
throw BusinessRuntimeException.getInstance("银河币抵扣系统错误,请联系客服");
}
//每个银河币可抵扣金额
- BigDecimal deductMoneyEachCoin = galaxyCoinPayConfigDto.getGalaxyCoin().divide(galaxyCoinPayConfigDto.getMoney());
+ BigDecimal deductMoneyEachCoin = galaxyCoinPayConfigDto.getMoney().divide(galaxyCoinPayConfigDto.getGalaxyCoin());
//此次使用抵扣金额
BigDecimal thisDeductMoney = toUseGalaxyCoin.multiply(deductMoneyEachCoin);
//该笔平台最高可抵扣金额