| | |
| | | @RepeatSubmit |
| | | public AjaxResult getVerifyCode(@RequestParam("phone") String phone) |
| | | { |
| | | return AjaxResult.success(loginService.getVerifyCode(phone)); |
| | | return AjaxResult.success(loginService.getVerifyCode(phone)?"发送成功":"发送失败"); |
| | | } |
| | | |
| | | @ApiOperation("新注册获取验证码") |
| | |
| | | @RepeatSubmit |
| | | public AjaxResult getVerifyCodeNew(@RequestParam("phone") String phone) |
| | | { |
| | | return AjaxResult.success(loginService.getVerifyCodeNew(phone)); |
| | | return AjaxResult.success(loginService.getVerifyCodeNew(phone)?"发送成功":"发送失败"); |
| | | } |
| | | |
| | | @ApiOperation("校验验证码") |