|
@@ -65,8 +65,12 @@ public class WxExtractController extends BaseController{
|
|
|
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);
|
|
|
return Response.success();
|