diff --git a/laws-modules-docking/src/main/java/com/jero/modules/docking/srms/service/impl/SrmsApiServiceImpl.java b/laws-modules-docking/src/main/java/com/jero/modules/docking/srms/service/impl/SrmsApiServiceImpl.java index ae8fbe2f..4dbfd879 100644 --- a/laws-modules-docking/src/main/java/com/jero/modules/docking/srms/service/impl/SrmsApiServiceImpl.java +++ b/laws-modules-docking/src/main/java/com/jero/modules/docking/srms/service/impl/SrmsApiServiceImpl.java @@ -183,14 +183,9 @@ public class SrmsApiServiceImpl implements SrmsApiService { re = loginService.srmsByToken(ettonSysUser); String token = re.getResult().get("token").toString(); String tokenKey = byTokenRequests.getUsername() + token; - String viewKey = token + "-X"; redisUtil.set(tokenKey, token, 3600); - redisUtil.set(viewKey, token, 3600); } else { re = loginService.srmsByToken(byTokenRequests.getUsername()); - String token = re.getResult().get("token").toString(); - String viewKey = token + "-X"; - redisUtil.set(viewKey, token, 24 * 60 * 60); } return re; } catch (Exception e) { diff --git a/laws-single-startup/src/main/resources/application-dev.yml b/laws-single-startup/src/main/resources/application-dev.yml index 0d2a3049..cccdda4b 100644 --- a/laws-single-startup/src/main/resources/application-dev.yml +++ b/laws-single-startup/src/main/resources/application-dev.yml @@ -268,7 +268,7 @@ jero: username: grp password: Grp2023.08 cluster-name: jero-ES - cluster-nodes: 10.10.10.45:7900 + cluster-nodes: 10.10.10.45:7213 check-enabled: false # 表单设计器配置 desform: @@ -324,12 +324,12 @@ jero: # 文件限制后缀黑名单 fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA # 跨站白名单 - whiteUrls: localhost:62345,localhost:8184,localhost:3334,localhost:3435,localhost:3408,localhost:3335,localhost:3508 + whiteUrls: localhost:62345,localhost:8184,localhost:3334,localhost:3435,localhost:3408,localhost:3335,localhost:3508,10.0.10.42:8082 xssExcludedPages: /login,/updatePassword # cors白名单 notFilter: # origin地址 - originIp: http://localhost:62345,http://localhost:8184,http://localhost:3334,http://localhost:3335,http://localhost:3435,http://localhost:3408,http://localhost:3508 + originIp: http://localhost:62345,http://localhost:8184,http://localhost:3334,http://localhost:3335,http://localhost:3435,http://localhost:3408,http://localhost:3508,http://10.0.10.42:8082 # 加密默认值 password: pbe: @@ -469,7 +469,7 @@ enterpriseDetailRoleCode: JTGLBZCXJS # 文件下载加解密 download: - enable: true + enable: false # 文件下载、预览拦截路径,多个以逗号分隔 download_url: /sys/common/download/ view_url: /sys/common/view/