fix: 修改判断用户是否被禁用

pull/16/head
tangqian 2023-05-24 11:02:32 +08:00
parent 9c626bcbbc
commit 3582bdd395
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ public class MemberUserApiImpl implements MemberUserApi {
throw new ServiceException("用户信息不存在!");
}
if (user.getStatus() == 0) {
if (user.getStatus() == 1) {
throw new ServiceException("用户已经被禁用!");
}
return user;