zouxuan 5 年之前
父節點
當前提交
cf525b8580

+ 1 - 1
edu-auth/edu-auth-server/src/main/java/com/keao/edu/auth/service/impl/SysUserServiceImpl.java

@@ -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");
 		}