|
@@ -99,10 +99,10 @@ public class LoginService implements ILoginService {
|
|
|
return RestResponse.fail(ApiConstants.RESULT_ERROR, "手机号为空无法登录");
|
|
|
}
|
|
|
//校验用户是否已经登录
|
|
|
- Object userInfo = getLoginUserInfoFromRedis(userRequest);
|
|
|
- if (userInfo != null) {
|
|
|
- return RestResponse.fail(ApiConstants.RESULT_ERROR, "账号已经登录无法重复登录");
|
|
|
- }
|
|
|
+// Object userInfo = getLoginUserInfoFromRedis(userRequest);
|
|
|
+// if (userInfo != null) {
|
|
|
+// return RestResponse.fail(ApiConstants.RESULT_ERROR, "账号已经登录无法重复登录");
|
|
|
+// }
|
|
|
if (StringUtils.isBlank(password)) {
|
|
|
return RestResponse.fail(ApiConstants.RESULT_ERROR, "用户密码为空无法登录");
|
|
|
}
|