修改配置文件

This commit is contained in:
梁琦涛
2024-08-13 11:33:15 +08:00
parent 86e89138df
commit ccc386e4c7
3 changed files with 15 additions and 15 deletions
@@ -258,7 +258,7 @@ jero:
# 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
upload-type: system
# 在线预览文件服务器地址配置
file-view-domain: 127.0.0.1:8012
file-view-domain: 10.2.16.8:8012
# minio文件上传
minio:
minio_url:
@@ -305,7 +305,7 @@ jero:
# 文件限制后缀黑名单
fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA
# 跨站白名单
whiteUrls: localhost:62345,localhost:8188,localhost:3344,localhost:3435,localhost:3408,10.2.16.8:8188,10.2.16.8:3344
whiteUrls: localhost:62345,localhost:8188,localhost:3344,localhost:3435,localhost:3408,10.2.16.8:8188,10.2.16.8:3344,10.2.16.8:8188,10.2.16.8:8012
xssExcludedPages: /login,/updatePassword
# cors白名单
notFilter:
@@ -258,7 +258,7 @@ jero:
# 文件、图片上传方式,可选项:qiniu(七牛云)、system(跟随系统配置)
upload-type: system
# 在线预览文件服务器地址配置
file-view-domain: 127.0.0.1:8012
file-view-domain: 10.2.16.10:8012
# minio文件上传
minio:
minio_url:
@@ -305,12 +305,12 @@ jero:
# 文件限制后缀黑名单
fileSuffixLimits : 0x00,%00,\\00,.jsp,.exe,.php,.asp,.aspx,.jspx,.xml,.html,.js,.sh,.bin,$DATA
# 跨站白名单
whiteUrls: localhost:62345,localhost:8188,localhost:3344,localhost:3435,localhost:3408,10.2.16.10:8188,10.2.16.10:3344
whiteUrls: localhost:62345,localhost:8188,localhost:3344,localhost:3435,localhost:3408,10.2.16.10:8188,10.2.16.10:3344,10.2.16.10:8012
xssExcludedPages: /login,/updatePassword
# cors白名单
notFilter:
# origin地址
originIp: http://localhost:62345,http://localhost:8188,http://localhost:3344,http://localhost:3435,http://localhost:3408,http://10.2.16.10:8188,http://10.2.16.10:3344
originIp: http://localhost:62345,http://localhost:8188,http://localhost:3344,http://localhost:3435,http://localhost:3408,http://10.2.16.10:8188,http://10.2.16.10:3344,http://10.2.16.10:8012
# 加密默认值
password:
pbe:
@@ -500,13 +500,13 @@ watermark:
# srms 接口对接
srms:
# pdf预览 前端url http://ip:port 替换前端地址
font_url_pdf: http://localhost:3344/pdfjs/web/viewer.html?file={back_url_pdf}&.pdf
font_url_pdf: http://10.2.16.10:3344/pdfjs/web/viewer.html?file={back_url_pdf}&.pdf
# pdf预览 后端url
back_url_pdf: /laws-chery/sys/common/view/{id}?type=view&at={token}
# 其他文件预览 替换kkfileviewurl
font_url_other: http://127.0.0.1:8012/onlinePreview?url={back_url_other}&watermarkTxt={mark}&watermarkSign={mark_md5}
font_url_other: http://10.2.16.10:8012/onlinePreview?url={back_url_other}&watermarkTxt={mark}&watermarkSign={mark_md5}
# 其他文件预览 后端url 替换后端地址
back_url_other: http://localhost:8188/${srms.back_url_pdf}&fullfilename={file_name}
back_url_other: http://10.2.16.10:8188/${srms.back_url_pdf}&fullfilename={file_name}
# 其他文件水印标识
other_md5_mark: cnhtc
# E彩通标识