Browse Source

Merge branch 'dev_shibei_match' of http://git.elinkit.com.cn:7070/r/ShibeiWorkPlatform

feature/teamB_zz_wgh
wangxianzhang 4 years ago
parent
commit
baed830970
  1. 3
      epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java

3
epmet-auth/src/main/java/com/epmet/service/impl/GovWebServiceImpl.java

@ -129,6 +129,7 @@ public class GovWebServiceImpl implements GovWebService {
log.error("工作人员信息不存在,customerId:{},userId:{}", customerId, userId);
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode());
}
String orgIdPath = thirdLoginService.getOrgIdPath(userId);
int expire = jwtTokenProperties.getExpire();
GovTokenDto tokenDto = new GovTokenDto();
tokenDto.setCustomerId(customerId);
@ -143,7 +144,7 @@ public class GovWebServiceImpl implements GovWebService {
//tokenDto.setDeptIdList(thirdLoginService.getDeptartmentIdList(userId));
//tokenDto.setGridIdList(thirdLoginService.getGridIdList(userId));
//tokenDto.setRoleList(thirdLoginService.queryGovStaffRoles(userId, orgIdPathParts[orgIdPathParts.length - 1]));
//tokenDto.setOrgIdPath(orgIdPath);
tokenDto.setOrgIdPath(orgIdPath);
cpUserDetailRedis.set(tokenDto, expire);
}

Loading…
Cancel
Save