|
@@ -143,10 +143,10 @@ public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implem
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public void initUser(LoginEntity loginEntity) {
|
|
|
+ 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");
|
|
|
}
|