diff --git a/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java b/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java index 7f0a14008..e671ee760 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java @@ -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)