文件下载加解密

This commit is contained in:
梁琦涛
2023-11-24 18:19:13 +08:00
parent 768320745f
commit 86e0040303
9 changed files with 440 additions and 58 deletions
@@ -429,3 +429,25 @@ draftDepartName: 起草部门
# 管理员权限roleCode,多填用英文逗号拼接
adminRoleCode: admin
# 文件下载加解密
download:
# 文件下载、预览拦截路径,多个以逗号分隔
download_url: /sys/common/download/
view_url: /sys/common/view/
# 管理员角色
admin_role_code: admin,BZGLY
# 加密参数
encrypt:
url: http://10.2.159.90/intekey/encrypteFile
app_code: SRMS
secret_key: SRMS1234..
# 解密参数
decrypt:
url: http://10.2.159.90/intekey/file
app_code: SRMS
secret_key: SRMS1234..
# 研发域
scope_dev: 51
# 办公域
scope_work: 52