src/main/java/cc/mrbird/febs/mall/service/impl/MallMemberWithdrawServiceImpl.java
@@ -199,7 +199,9 @@ if(withdrawAmount.compareTo(amount) > 0){ throw new FebsException("至少为"+withdrawAmount); } boolean b = Integer.parseInt(amount.toString()) % Integer.parseInt(withdrawAmount.toString()) == 0; // boolean b = Integer.parseInt(amount.toString()) % Integer.parseInt(withdrawAmount.toString()) == 0; boolean b = amount.remainder(withdrawAmount).compareTo(BigDecimal.ZERO) == 0; if(!b){ throw new FebsException("金额必须为"+withdrawAmount+"的整数倍"); }