|
@@ -79,7 +79,7 @@ public class DefaultUserDetailsService implements UserDetailsService {
|
|
|
if (UserLockFlag.LOCKED.equals(data.getLockFlag())) {
|
|
|
throw new LockedException("账户被锁定");
|
|
|
}
|
|
|
- }else if(SysUserType.TEACHER.getCode().equals(clientId)) {
|
|
|
+ }else if(SysUserType.TEACHER.getCode().equals(clientId) || "qr_teacher".equalsIgnoreCase(clientId)) {
|
|
|
TeacherApi data = adminFeignService.getTeacher(sysUser.getId()).getData();
|
|
|
if (data == null) {
|
|
|
throw new UsernameNotFoundException("账户不存在");
|