|  |  |  | 
|---|
|  |  |  | servlet: | 
|---|
|  |  |  | multipart: | 
|---|
|  |  |  | # 前端上传文件,限制单个文件的大小和限制所有文件的大小 | 
|---|
|  |  |  | max-file-size: 1MB | 
|---|
|  |  |  | max-request-size: 10MB | 
|---|
|  |  |  | max-file-size: 500MB | 
|---|
|  |  |  | max-request-size: 5000MB | 
|---|
|  |  |  | logging: | 
|---|
|  |  |  | charset: | 
|---|
|  |  |  | console: UTF-8 | 
|---|
|  |  |  | 
|---|
|  |  |  | cache-enabled: true  #打开全局缓存开关(二级环境),默认值是true | 
|---|
|  |  |  | #default-enum-type-handler: com.dy.common.mybatis.envm.EnumCodeTypeHandler | 
|---|
|  |  |  |  | 
|---|
|  |  |  | dingtalk: | 
|---|
|  |  |  | robot: | 
|---|
|  |  |  | url: https://oapi.dingtalk.com/robot/send | 
|---|
|  |  |  | access-token: 5004482dce6b24d0e1e655b8e4376a6418cfcebce17ff792d0e68cbb63d6eb5b | 
|---|
|  |  |  | secret: SEC985ad412f35ece68bb239cad88b6fba59b19461dd8d067e80fafa1270d6ab465 | 
|---|
|  |  |  | at-all: true | 
|---|
|  |  |  | #不进行userToken过滤的URL,@ConfigurationProperties要求tokennofilter中所有字母都小写 | 
|---|
|  |  |  | tokennofilter: | 
|---|
|  |  |  | urls: | 
|---|
|  |  |  | - /sso/sso | 
|---|
|  |  |  | pms: | 
|---|
|  |  |  | global: | 
|---|
|  |  |  | dev: true   #是否开发阶段,true或false,开发阶段不进行登录验证及权限验证 | 
|---|
|  |  |  | ssoUserExpireAfterAccess: 60  #sso登录后,用户在一定时间(ssoUserExpireAfterAccess)(分钟)内未访问系统,系统清除缓存信息,使用重新登录系统 | 
|---|
|  |  |  | ssoUserExpireAfterAccess: 60  #sso登录后,用户在一定时间(ssoUserExpireAfterAccess)(分钟)内未访问系统,系统清除缓存信息,使其重新登录系统 | 
|---|
|  |  |  | ssoCacheSizeInit: 10  #sso缓存初始容量 | 
|---|
|  |  |  | ssoCacheSizeMax: 10000  #sso缓存最大容量,即支持ssoCacheSizeMax个用户同时登录 | 
|---|
|  |  |  | nginx: | 
|---|
|  |  |  | webPort: 8000 | 
|---|
|  |  |  | sso: | 
|---|
|  |  |  | #        checkUrl: http://127.0.0.1:12344/sso/sso/ssoCheck | 
|---|
|  |  |  | checkUrl: http://127.0.0.1:12344/sso/sso/ssoPowerCheck | 
|---|
|  |  |  | curUserUrl: http://127.0.0.1:12344/sso/sso/ssoCurUser | 
|---|
|  |  |  | webPort: 12344 | 
|---|
|  |  |  | 
|---|
|  |  |  | station: | 
|---|
|  |  |  | webPort: 12349 | 
|---|
|  |  |  | idSuffix: 6 | 
|---|
|  |  |  | report: | 
|---|
|  |  |  | webPort: 12350 | 
|---|
|  |  |  | idSuffix: 7 | 
|---|
|  |  |  | file: | 
|---|
|  |  |  | idSuffix: 99 | 
|---|
|  |  |  | file1: | 
|---|
|  |  |  | 
|---|
|  |  |  | photoZipWidth: 400 #缩略图尺寸 | 
|---|
|  |  |  | webFile: | 
|---|
|  |  |  | fmUrl: http://127.0.0.1:${pms.other.webPort}/other # fm的web上下文 URL | 
|---|
|  |  |  | supportedFileTypes: docx,xlsx,pdf | 
|---|
|  |  |  | sv1: | 
|---|
|  |  |  | id: dyFile1 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | relativePath: webFile1 | 
|---|
|  |  |  | hashStart: 0 | 
|---|
|  |  |  | hashEnd: 5461 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file是上下文 | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx服务路径 | 
|---|
|  |  |  | webDownloadPath: /download/down?id=  #实际下载webUrl= restUrl + webDownloadPath | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file1.webPort}/file #file是上下文,ip为局域网ip或本地IP | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx服务路径,安装部署时IP改成外网IP或域名 | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id=  #安装部署时IP改成外网IP或域名 | 
|---|
|  |  |  | sv2: | 
|---|
|  |  |  | id: dyFile2 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 10923 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file2.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file2.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv3: | 
|---|
|  |  |  | id: dyFile3 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 16385 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file3.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file3.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv4: | 
|---|
|  |  |  | id: dyFile4 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 21847 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file4.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file4.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv5: | 
|---|
|  |  |  | id: dyFile5 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 27309 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file5.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file5.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv6: | 
|---|
|  |  |  | id: dyFile6 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 32767 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file6.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file6.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv7: | 
|---|
|  |  |  | id: dyFile7 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 38229 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file7.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file7.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv8: | 
|---|
|  |  |  | id: dyFile8 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 43691 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file8.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file8.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv9: | 
|---|
|  |  |  | id: dyFile9 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 49153 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file9.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file9.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv10: | 
|---|
|  |  |  | id: dyFile10 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 54615 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file10.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file10.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv11: | 
|---|
|  |  |  | id: dyFile11 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 60077 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file11.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file11.webPort}/file/download/down?id= | 
|---|
|  |  |  | sv12: | 
|---|
|  |  |  | id: dyFile12 | 
|---|
|  |  |  | absolutePath: E:/java/nginx-1.24.0/html/webfiles/ | 
|---|
|  |  |  | 
|---|
|  |  |  | hashEnd: 65535 | 
|---|
|  |  |  | restUrl: http://127.0.0.1:${pms.file12.webPort}/file | 
|---|
|  |  |  | webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ | 
|---|
|  |  |  | webDownloadPath: /download/down?id= | 
|---|
|  |  |  | webDownloadPath: http://127.0.0.1:${pms.file12.webPort}/file/download/down?id= | 
|---|