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)