init
This commit is contained in:
@@ -76,10 +76,6 @@ public class AuthAppController {
|
||||
if(!mobile){
|
||||
return R.fail(600,"请输入正确的手机格式");
|
||||
}
|
||||
User user = userService.getByUsername(code.getMobile());
|
||||
if(user == null){
|
||||
throw new ServiceException("用户不存在");
|
||||
}
|
||||
smsVerifyService.put(CodeEnum.RESET_PASSWORD,code.getMobile());
|
||||
return R.ok("发送成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user