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