master
wangning 7 years ago
parent e9573f77f7
commit 9059101594

@ -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)

Loading…
Cancel
Save