update yml文件

This commit is contained in:
lijiarao
2024-03-01 13:56:30 +08:00
parent 2c7fb4ba01
commit 2c3448acb6
2 changed files with 52 additions and 17 deletions
@@ -452,7 +452,7 @@ adminRoleCode: admin,BZGLY
# 文件下载加解密 # 文件下载加解密
download: download:
enable: false enable: true
# 文件下载、预览拦截路径,多个以逗号分隔 # 文件下载、预览拦截路径,多个以逗号分隔
download_url: /sys/common/download/ download_url: /sys/common/download/
view_url: /sys/common/view/ view_url: /sys/common/view/
@@ -288,13 +288,13 @@ 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:3000,localhost:8080,localhost:62345,srms.sinotruk.com whiteUrls: localhost:3000,localhost:8080,localhost:62345,srms.sinotruk.com,10.10.121.21,10.50.50.69,10.10.121.5,10.100.108.2
# xss白名单 # xss白名单
xssExcludedPages: /login,/updatePassword xssExcludedPages: /login,/updatePassword
# cors白名单 # cors白名单
notFilter: notFilter:
# origin地址 # origin地址
originIp: http://localhost:3000,http://localhost:62345,http://srms.sinotruk.com originIp: http://localhost:3000,http://localhost:62345,http://srms.sinotruk.com,https://srms.sinotruk.com
# 加密默认值 # 加密默认值
password: password:
pbe: pbe:
@@ -352,11 +352,12 @@ file:
# 在线编辑文件下载映射地址 # 在线编辑文件下载映射地址
downloadUrl: http://localhost:8184/laws-sinotruk/file/ downloadUrl: http://localhost:8184/laws-sinotruk/file/
split: split:
path: D://opt//onlyOffice//file//splitImage// path: /opt/onlyoffice/file/splitImage/
# 在线编辑空白docx地址 # 在线编辑空白docx地址
sourceFilePath: D://opt//onlyOffice//DOCX.docx sourceFilePath: /app/onlyoffice/DOCX.docx
# 在线编辑本地存储地址 # 在线编辑本地存储地址
path: D:/opt/onlyOffice/file/ path: /app/onlyoffice/file/
iam: iam:
bimRemoteUser: srmsIam bimRemoteUser: srmsIam
bimRemotePwd: srmsIam2023 bimRemotePwd: srmsIam2023
@@ -371,12 +372,20 @@ hiwork:
ip: http://task.sinotruk.com/ ip: http://task.sinotruk.com/
# 异构系统标识 # 异构系统标识
sysCode: SRMS sysCode: SRMS
# 服务号
serviceCode: SRMSService
# 统一待办集成 # 统一待办集成
todoUrl: taskapi/task.basedata/integrationCall/workflowIntegration todoUrl: taskapi/task.basedata/integrationCall/workflowIntegration
# 统一消息集成 # 统一消息集成
messageUrl: taskapi/task.basedata/notice/noticeCalls/send messageUrl: taskapi/task.basedata/notice/noticeCalls/send
# 是否发送消息 # 是否发送消息
isSend: true isSend: true
# 是否推送统一待办
isWorkflow: true
# 前端调用地址
url: https://iam.sinotruk.com:7011/idp/oauth2/authorize?&state=123&client_id=SRMS&response_type=code&redirect_uri=
fontUrl: http://srms.sinotruk.com{url}?projectId={projectId}&taskName={taskName}&taskId={taskId}&processInstanceId={processInstanceId}&nodeId={nodeId}
fontAppUrl: http://srms.sinotruk.com/mobile{url}?projectId={projectId}&taskName={taskName}&taskId={taskId}&processInstanceId={processInstanceId}&nodeId={nodeId}
# 汽车标准数字化平台ASMS # 汽车标准数字化平台ASMS
asms: asms:
@@ -384,7 +393,7 @@ asms:
# 测试账号用户名 # 测试账号用户名
username: ceshi username: ceshi
# 测试账号密码 # 测试账号密码
password: Catarc@333 password: Catarc@321
# token过期时间(单位:小时) # token过期时间(单位:小时)
expire: 48 expire: 48
@@ -403,29 +412,36 @@ oauth:
# 防止跨站请求伪造(CSRF)标识(暂时不用) # 防止跨站请求伪造(CSRF)标识(暂时不用)
state: zhongQi state: zhongQi
# 起草部门部门名称
draftDepartName: 流程与标准化
oa:
url: http://oatest.sinotruk.com:8080
getAccessTokenUrl: ${oa.url}/getAccessToken
getTicketInfoUrl: ${oa.url}/getTicketInfo
appId: SRMS
appSecret: 196b2e1f-127f-47d5-8e33-746fb8ad0387
# 起草部门部门名称
draftDepartName: 起草部门
# 管理员权限roleCode,多填用英文逗号拼接 # 管理员权限roleCode,多填用英文逗号拼接
adminRoleCode: admin adminRoleCode: admin,BZGLY
# 文件下载加解密 # 文件下载加解密
download: download:
enable: false enable: true
# 文件下载、预览拦截路径,多个以逗号分隔 # 文件下载、预览拦截路径,多个以逗号分隔
download_url: /sys/common/download/ download_url: /sys/common/download/
view_url: /sys/common/view/ view_url: /sys/common/view/
white_url: /onlyOffice,/enterprise/templateDownload,/exportDataWithFile white_url: /onlyOffice,/enterprise/templateDownload,/exportDataWithFile,/exportSplitInfoZip,/lawsCustomCompareInfo/exportExcel
# 管理员角色 # 管理员角色
admin_role_code: admin,BZGLY admin_role_code: admin,BZGLY
# 加密参数 # 加密参数
encrypt: encrypt:
url: http://10.2.158.196/intekey/encrypteFile url: http://10.2.158.196/api/intekey/encrypteFile
app_code: SRMS app_code: SRMS
secret_key: SRMS1234.. secret_key: SRMS1234..
# 解密参数 # 解密参数
decrypt: decrypt:
url: http://10.2.158.196/intekey/file url: http://10.2.158.196/api/intekey/file
app_code: SRMS app_code: SRMS
secret_key: SRMS1234.. secret_key: SRMS1234..
# 研发域 # 研发域
@@ -439,7 +455,7 @@ watermark:
# 每页几行 # 每页几行
lineNumPerPage: 8 lineNumPerPage: 8
# 每页几列 # 每页几列
columnNumPerPage: 2 columnNumPerPage: 3
# 倾斜角度 # 倾斜角度
degree: 30 degree: 30
# 颜色 # 颜色
@@ -450,5 +466,24 @@ watermark:
a: 1 a: 1
# 页边距 # 页边距
margin: margin:
top: 100 top: 0
left: 60 left: 0
# srms 接口对接
srms:
# pdf预览 前端url http://ip:port 替换前端地址
font_url_pdf: http://srms.sinotruk.com/pdfjs/web/viewer.html?file={back_url_pdf}&.pdf
# pdf预览 后端url
back_url_pdf: /laws-sinotruk/sys/common/view/{id}?type=view&at={token}
# 其他文件预览 替换kkfileviewurl
font_url_other: http://fileviewdev.sinotruk.com/onlinePreview?url={back_url_other}&watermarkTxt={mark}&watermarkSign={mark_md5}
# 其他文件预览 后端url 替换后端地址
back_url_other: http://srms.sinotruk.com/${srms.back_url_pdf}&fullfilename={file_name}
# 其他文件水印标识
other_md5_mark: cnhtc
# E彩通标识
etton_sys_code: ETTON
# E彩通默认账户
etton_sys_user: etton
# 分类树标准法规回写接口 url
part_standard_url: