|
@@ -40,6 +40,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User>
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public ResultVo phoenLogin(PhoneLoginDto dto) {
|
|
public ResultVo phoenLogin(PhoneLoginDto dto) {
|
|
|
|
+ //判断手机号是否正确
|
|
if(StringUtils.isEmpty(dto.getPhone())){
|
|
if(StringUtils.isEmpty(dto.getPhone())){
|
|
return ResultVo.error(ApiServiceExceptionEnum.USER_NOT_NULL);
|
|
return ResultVo.error(ApiServiceExceptionEnum.USER_NOT_NULL);
|
|
}
|
|
}
|