|
|
@ -255,9 +255,9 @@ public class SsoServiceImpl implements SsoService { |
|
|
|
//5.生成token存到redis并返回
|
|
|
|
userTokenResultDTO = new UserTokenResultDTO(); |
|
|
|
userTokenResultDTO.setCustomerId(customerId); |
|
|
|
String token = generateToken(AppClientConstant.APP_GOV, AppClientConstant.CLIENT_SSO, userId); |
|
|
|
String token = generateToken(AppClientConstant.APP_GOV, AppClientConstant.CLIENT_WEB, userId); |
|
|
|
userTokenResultDTO.setToken(token); |
|
|
|
disposeTokenDto(AppClientConstant.APP_GOV, AppClientConstant.CLIENT_SSO, userId, token, customerId); |
|
|
|
disposeTokenDto(AppClientConstant.APP_GOV, AppClientConstant.CLIENT_WEB, userId, token, customerId); |
|
|
|
// 6.发送登录事件
|
|
|
|
try { |
|
|
|
SpringContextUtils.getBean(ThirdLoginService.class).sendLoginEvent(userId, "数字社区登录", |
|
|
@ -320,7 +320,7 @@ public class SsoServiceImpl implements SsoService { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 居民端登陆生成业务token的key |
|
|
|
* @Description 登陆生成业务token的key |
|
|
|
* @Param app |
|
|
|
* @Param client |
|
|
|
* @Param userId |
|
|
|