拉黑限制
This commit is contained in:
@@ -894,7 +894,7 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
||||
return Result.error("账号或密码不正确!");
|
||||
}
|
||||
|
||||
if (userInfo.getStatus().equals(2)) {
|
||||
if (!userInfo.getStatus().equals(1)) {
|
||||
return Result.error("账号已被禁用,请联系客服处理!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user