fix: 修改判断用户是否被禁用
parent
9c626bcbbc
commit
3582bdd395
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue