|
@@ -143,7 +143,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Integer, SysUser> implem
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public SysUserInfo initUser(LoginEntity loginEntity) {
|
|
|
+ public synchronized SysUserInfo initUser(LoginEntity loginEntity) {
|
|
|
if(StringUtils.equalsIgnoreCase(loginEntity.getClientId(),"STUDENT")){
|
|
|
eduUserFeignService.studentApply(loginEntity.getOrganId(),loginEntity.getPhone());
|
|
|
return queryUserInfoByPhone(loginEntity.getPhone(),loginEntity.getClientId());
|