app数量问题

This commit is contained in:
wanggeng888 2021-04-15 15:35:50 +08:00
parent 96cefa62ec
commit 6010920a8a
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class UserDetailServiceImpl implements UserDetailsService, IUserDetailChe
removalDuplicateRole(rolePOs); removalDuplicateRole(rolePOs);
grantedAuthorities.addAll(loadRoleAuthority(rolePOs)); grantedAuthorities.addAll(loadRoleAuthority(rolePOs));
if (grantedAuthorities.isEmpty()) { if (grantedAuthorities.isEmpty()) {
throw new UserAuthenticationException(username + "用户无任角色"); throw new UserAuthenticationException(username + "用户无任角色");
} }
} }

View File

@ -389,7 +389,7 @@
changePasswordNoticeDays: data.changePasswordNoticeDays, changePasswordNoticeDays: data.changePasswordNoticeDays,
passwordStrength: data.passwordStrength, passwordStrength: data.passwordStrength,
firstLoginChangePassword: data.firstLoginChangePassword, firstLoginChangePassword: data.firstLoginChangePassword,
appDeviceCount: data.appDeviceCount, appDeviceCount: data.appDeviceCount ? data.appDeviceCount : 0,
verificationCode: data.verificationCode, verificationCode: data.verificationCode,
uKeyLogin: data.uKeyLogin, uKeyLogin: data.uKeyLogin,
scanCodeLogin: data.scanCodeLogin, scanCodeLogin: data.scanCodeLogin,