From 9059101594caaa1b8fb99d4e9a1b17ec30a8271b Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Mon, 28 May 2018 19:24:18 +0800 Subject: [PATCH] update --- .../manage/application/web/SimpleClientApplyController.java | 6 ++---- 1 file changed, 2 insertions(+), 4 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 c409e3288..4b96f8fb3 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 @@ -76,10 +76,8 @@ public class SimpleClientApplyController { @RequestMapping(value = "/info/phone/{phone_number}/verify", method = RequestMethod.POST) @ResponseBody - public JSONObject getAndSendSmsCode(@PathVariable String phone_number, @RequestParam String nation_code) { - JSONObject result = new JSONObject(); - result.put("phoneCodeKey", simpleClientApplyService.getAndSendSmsCode(phone_number, nation_code)); - return result; + public void getAndSendSmsCode(@PathVariable String phone_number, @RequestParam String nation_code) { + simpleClientApplyService.getAndSendSmsCode(phone_number, nation_code); } @RequestMapping(value = "/info/update/{username}", method = RequestMethod.POST)