-5
@@ -183,14 +183,9 @@ public class SrmsApiServiceImpl implements SrmsApiService {
|
|||||||
re = loginService.srmsByToken(ettonSysUser);
|
re = loginService.srmsByToken(ettonSysUser);
|
||||||
String token = re.getResult().get("token").toString();
|
String token = re.getResult().get("token").toString();
|
||||||
String tokenKey = byTokenRequests.getUsername() + token;
|
String tokenKey = byTokenRequests.getUsername() + token;
|
||||||
String viewKey = token + "-X";
|
|
||||||
redisUtil.set(tokenKey, token, 3600);
|
redisUtil.set(tokenKey, token, 3600);
|
||||||
redisUtil.set(viewKey, token, 3600);
|
|
||||||
} else {
|
} else {
|
||||||
re = loginService.srmsByToken(byTokenRequests.getUsername());
|
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;
|
return re;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ jero:
|
|||||||
username: grp
|
username: grp
|
||||||
password: Grp2023.08
|
password: Grp2023.08
|
||||||
cluster-name: jero-ES
|
cluster-name: jero-ES
|
||||||
cluster-nodes: 10.10.10.45:7900
|
cluster-nodes: 10.10.10.45:7213
|
||||||
check-enabled: false
|
check-enabled: false
|
||||||
# 表单设计器配置
|
# 表单设计器配置
|
||||||
desform:
|
desform:
|
||||||
@@ -324,12 +324,12 @@ jero:
|
|||||||
# 文件限制后缀黑名单
|
# 文件限制后缀黑名单
|
||||||
fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA
|
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
|
xssExcludedPages: /login,/updatePassword
|
||||||
# cors白名单
|
# cors白名单
|
||||||
notFilter:
|
notFilter:
|
||||||
# origin地址
|
# 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:
|
password:
|
||||||
pbe:
|
pbe:
|
||||||
@@ -469,7 +469,7 @@ enterpriseDetailRoleCode: JTGLBZCXJS
|
|||||||
|
|
||||||
# 文件下载加解密
|
# 文件下载加解密
|
||||||
download:
|
download:
|
||||||
enable: true
|
enable: false
|
||||||
# 文件下载、预览拦截路径,多个以逗号分隔
|
# 文件下载、预览拦截路径,多个以逗号分隔
|
||||||
download_url: /sys/common/download/
|
download_url: /sys/common/download/
|
||||||
view_url: /sys/common/view/
|
view_url: /sys/common/view/
|
||||||
|
|||||||
Reference in New Issue
Block a user