处理手机号未注册登录提示
This commit is contained in:
@@ -880,6 +880,10 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
||||
baseMapper.updateById(userInfo);
|
||||
return getResult(userInfo);
|
||||
} else {
|
||||
// 如果 platform 为空 则表示登录的时候输错了手机号
|
||||
if (StringUtils.isEmpty(platform)) {
|
||||
return Result.error("手机号未注册!");
|
||||
}
|
||||
if(StringUtils.isEmpty(msg)){
|
||||
return Result.error("验证码不能为空!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user