拉黑限制

This commit is contained in:
GYJ
2025-02-25 20:21:17 +08:00
parent f38ea13960
commit f4787bd7cb
3 changed files with 11 additions and 1 deletions

View File

@@ -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("账号已被禁用,请联系客服处理!");
}