master
wangning 7 years ago
parent 1e97502b4b
commit 0108ab9322

@ -82,12 +82,9 @@ public class SimpleClientApplyController {
}
@RequestMapping(value = "/info/update/{username}", method = RequestMethod.POST)
public JSONObject registerCompanyInfo(@PathVariable String username, @RequestBody @Valid ClientPreApplyBean applyBean) {
JSONObject result = new JSONObject();
String codeKey = simpleClientApplyService.checkOrGenerateRegisterProcessKey(username,applyBean.getCodeKey());
public void registerCompanyInfo(@PathVariable String username, @RequestBody @Valid ClientPreApplyBean applyBean) {
simpleClientApplyService.checkOrGenerateRegisterProcessKey(username,applyBean.getCodeKey());
simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username);
result.put("codeKey", codeKey);
return result;
}
@RequestMapping(value = "/info/bank/{bsb_no}", method = RequestMethod.GET)

Loading…
Cancel
Save