xiongzhu 3 yıl önce
ebeveyn
işleme
fec500e30d

+ 3 - 3
src/main/java/com/izouma/nineth/service/OrderPayService.java

@@ -439,9 +439,9 @@ public class OrderPayService {
         if (amount.compareTo(minAmount) < 0) {
             throw new BusinessException("充值金额不能小于" + minAmount);
         }
-        if (amount.compareTo(new BigDecimal("50000")) > 0) {
-            throw new BusinessException("充值金额不能大于50000");
-        }
+//        if (amount.compareTo(new BigDecimal("50000")) > 0) {
+//            throw new BusinessException("充值金额不能大于50000");
+//        }
         RechargeOrder order = RechargeOrder.builder()
                 .id(snowflakeIdWorker.nextId())
                 .userId(userId)