|
|
@ -3,6 +3,7 @@ package au.com.royalpay.payment.manage.application.web;
|
|
|
|
import au.com.royalpay.payment.manage.application.beans.ClientPreApplyBean;
|
|
|
|
import au.com.royalpay.payment.manage.application.beans.ClientPreApplyBean;
|
|
|
|
import au.com.royalpay.payment.manage.application.beans.ClientPreApplyStep1Bean;
|
|
|
|
import au.com.royalpay.payment.manage.application.beans.ClientPreApplyStep1Bean;
|
|
|
|
import au.com.royalpay.payment.manage.application.core.SimpleClientApplyService;
|
|
|
|
import au.com.royalpay.payment.manage.application.core.SimpleClientApplyService;
|
|
|
|
|
|
|
|
import au.com.royalpay.payment.tools.env.SysConfigManager;
|
|
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
|
|
|
@ -23,6 +24,8 @@ import javax.validation.Valid;
|
|
|
|
public class SimpleClientApplyController {
|
|
|
|
public class SimpleClientApplyController {
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private SimpleClientApplyService simpleClientApplyService;
|
|
|
|
private SimpleClientApplyService simpleClientApplyService;
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
|
|
|
private SysConfigManager sysConfigManager;
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/account/check", method = RequestMethod.GET)
|
|
|
|
@RequestMapping(value = "/account/check", method = RequestMethod.GET)
|
|
|
|
public void checkAccountName(@RequestParam String nation_code,@RequestParam String phone) {
|
|
|
|
public void checkAccountName(@RequestParam String nation_code,@RequestParam String phone) {
|
|
|
@ -75,4 +78,10 @@ public class SimpleClientApplyController {
|
|
|
|
simpleClientApplyService.checkOrGenerateRegisterProcessKey(username, codeKey);
|
|
|
|
simpleClientApplyService.checkOrGenerateRegisterProcessKey(username, codeKey);
|
|
|
|
return simpleClientApplyService.getBankInfo(bsb_no);
|
|
|
|
return simpleClientApplyService.getBankInfo(bsb_no);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/config/sys_rates", method = RequestMethod.GET)
|
|
|
|
|
|
|
|
public JSONObject getSysRate() {
|
|
|
|
|
|
|
|
JSONObject sysConfig = sysConfigManager.getSysConfig();
|
|
|
|
|
|
|
|
return JSONObject.parseObject(sysConfig.getString("sys_apply_rates"));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|