|
|
|
@ -232,7 +232,10 @@ public class ResourcesApplicationService extends CoreBaseService<ResourcesApplic
|
|
|
|
|
public String getKeyByCurrentUser(String linkSecretKey) {
|
|
|
|
|
if (ObjectUtil.isNotEmpty(linkSecretKey)) {
|
|
|
|
|
LoginTodo loginTodo = loginTodoService.buildByCurrentLoginUser();
|
|
|
|
|
return JWT.create().withAudience(loginTodo.toJSONString()).sign(Algorithm.HMAC256(linkSecretKey));
|
|
|
|
|
String sign = JWT.create().withAudience(loginTodo.toJSONString()).sign(Algorithm.HMAC256(linkSecretKey));
|
|
|
|
|
LoginTodo str = decodeApplicationUrl(linkSecretKey, sign);
|
|
|
|
|
System.out.println(str);
|
|
|
|
|
return sign;
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|