Althars123 3 years ago
parent
commit
14fc3303f7

+ 6 - 2
twzd-admin/src/main/java/com/miaxis/app/controller/wx/WxExtractController.java

@@ -65,8 +65,12 @@ public class WxExtractController extends BaseController{
             throw new CustomException("提现金额不能为空");
             throw new CustomException("提现金额不能为空");
 
 
         }
         }
-        if (amount > 200 && amount <0){
-            throw new CustomException("提现金额必须在200以内");
+        if (amount > 20000 ){
+            throw new CustomException("提现金额不能超过200元");
+        }
+
+        if (amount < 30 ){
+            throw new CustomException("提现金额不能低于0.3元");
         }
         }
         wxOrderService.wxwithdrawal(amount);
         wxOrderService.wxwithdrawal(amount);
         return Response.success();
         return Response.success();