|
@@ -121,7 +121,7 @@ public class LoginService implements ILoginService {
|
|
|
UserAccount userAccount = userAccountService.getByMobile(userRequest.getMobile());
|
|
|
//验证手机号是否存在
|
|
|
if (userAccount == null) {
|
|
|
- return RestResponse.fail(ApiConstants.RESULT_ERROR, "手机号尚未注册");
|
|
|
+ return RestResponse.fail(ApiConstants.RESULT_ERROR, "手机号尚未注册") ;
|
|
|
}
|
|
|
//判断用户是否为物管端用户
|
|
|
int userType = userAccount.getType() != null ? userAccount.getType() : ApiConstants.UserConstants.TYPE_USER;
|