From 0108ab932223950915a6f523322a9433f6c97815 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Fri, 25 May 2018 09:13:05 +0800 Subject: [PATCH] update --- .../application/web/SimpleClientApplyController.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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)