|
|
|
@ -173,14 +173,15 @@ public class AdminAccountCloseController extends BaseController { |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("/setPaySetting") |
|
|
|
public JSONObject setPaySetting(HttpServletRequest request){ |
|
|
|
String alipay= request.getParameter("alipay"); |
|
|
|
public JSONObject setPaySetting(@RequestBody String rejson){ |
|
|
|
JSONObject request = JSONObject.parseObject(rejson); |
|
|
|
String alipay= request.getString("alipay"); |
|
|
|
int ialipay = Integer.valueOf(alipay); |
|
|
|
|
|
|
|
String wechatPay= request.getParameter("wechat_pay"); |
|
|
|
String wechatPay= request.getString("wechat_pay"); |
|
|
|
int iwechat = Integer.valueOf(wechatPay); |
|
|
|
|
|
|
|
String ebankPay = request.getParameter("ebank_pay"); |
|
|
|
String ebankPay = request.getString("ebank_pay"); |
|
|
|
int iebank= Integer.valueOf(ebankPay); |
|
|
|
|
|
|
|
accountCloseService.setPaySetting(ialipay,iwechat,iebank); |
|
|
|
|