diff --git a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/api/user/MemberUserApiImpl.java b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/api/user/MemberUserApiImpl.java index c165524dd..abb82eedb 100644 --- a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/api/user/MemberUserApiImpl.java +++ b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/api/user/MemberUserApiImpl.java @@ -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;