|
@@ -94,7 +94,7 @@ public class DefaultUserDetailsService implements UserDetailsService {
|
|
|
throw new UsernameNotFoundException("账户不存在");
|
|
|
}
|
|
|
if (Boolean.FALSE.equals(tenantStaff.getTenantEnableFlag())) {
|
|
|
- throw new UsernameNotFoundException("MA:5004:该机构已被冻结");
|
|
|
+ throw new UsernameNotFoundException("MA:5004:" + sysUser.getWxOpenid());
|
|
|
}
|
|
|
if (UserLockFlag.LOCKED.name().equals(tenantStaff.getStatus())) {
|
|
|
throw new LockedException("账户被锁定");
|