|
@@ -146,7 +146,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implem
|
|
|
public SysUserInfo initUser(LoginEntity loginEntity) {
|
|
|
if(StringUtils.equalsIgnoreCase(loginEntity.getClientId(),"STUDENT")){
|
|
|
eduUserFeignService.studentApply(loginEntity.getOrganId(),loginEntity.getPhone());
|
|
|
- return queryUserInfoByPhone(loginEntity.getPhone());
|
|
|
+ return queryUserInfoByPhone(loginEntity.getPhone(),loginEntity.getClientId());
|
|
|
}else {
|
|
|
throw new UsernameNotFoundException("404.9");
|
|
|
}
|