|
|
@ -779,14 +779,14 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
|
map.put(AppClientConstant.APP, app); |
|
|
|
// map.put(AppClientConstant.CLIENT, client);
|
|
|
|
// 第三方企业应用传应用的SuiteKey 作为client
|
|
|
|
map.put(AppClientConstant.CLIENT, suiteKey); |
|
|
|
map.put(AppClientConstant.CLIENT, client.concat(suiteKey)); |
|
|
|
map.put("userId", userId); |
|
|
|
String token = jwtTokenUtils.createToken(map); |
|
|
|
int expire = jwtTokenProperties.getExpire(); |
|
|
|
TokenDto tokenDto = new TokenDto(); |
|
|
|
tokenDto.setCustomerId(customerId); |
|
|
|
tokenDto.setApp(app); |
|
|
|
tokenDto.setClient(suiteKey); |
|
|
|
tokenDto.setClient(client.concat(suiteKey)); |
|
|
|
tokenDto.setUserId(userId); |
|
|
|
tokenDto.setToken(token); |
|
|
|
tokenDto.setUpdateTime(System.currentTimeMillis()); |
|
|
|