|
|
|
@ -361,9 +361,18 @@ public class ResourcesApplicationService extends CoreBaseService<ResourcesApplic
|
|
|
|
|
PageQuery ret = resourcesApplicationDao.queryMyApplicationByConditionQuery(query);
|
|
|
|
|
List<ResourcesApplication> list = ret.getList();
|
|
|
|
|
CollectionUtil.emptyIfNull(list).forEach(item -> {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 每个应用不同,可能携带密钥的key大不相同,所以要么单独记录,要么直接添加的时候,放在applicationLink字段中
|
|
|
|
|
// String applicationLink = makeHaveKeyStr(item.getApplicationLink());
|
|
|
|
|
String applicationLink = item.getApplicationLink();
|
|
|
|
|
if ("商业银行综合业务实训系统".equals(item.getApplicationName())){
|
|
|
|
|
String realUrl =applicationLink;
|
|
|
|
|
item.setRealUrl(realUrl);
|
|
|
|
|
item.setCanUsed(true);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 根据应用设置的Key生成单点登录的真实链接
|
|
|
|
|
String realUrl = applicationLink.concat(getKeyByCurrentUser(item.getResourcesApplicationId(), item.getLinkSecretKey()));
|
|
|
|
|