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