From a9de97ec2f33c540e4dce56af7a11ccd30a65f5a Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 13 十二月 2024 11:57:49 +0800
Subject: [PATCH] application

---
 pms-parent/pms-global/src/main/resources/application-global.yml |   44 ++++++++++++++++++++++++++------------------
 1 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/application-global.yml b/pms-parent/pms-global/src/main/resources/application-global.yml
index f9f3ba4..822bbb8 100644
--- a/pms-parent/pms-global/src/main/resources/application-global.yml
+++ b/pms-parent/pms-global/src/main/resources/application-global.yml
@@ -2,8 +2,8 @@
     servlet:
         multipart:
             # 鍓嶇涓婁紶鏂囦欢锛岄檺鍒跺崟涓枃浠剁殑澶у皬鍜岄檺鍒舵墍鏈夋枃浠剁殑澶у皬
-            max-file-size: 1MB
-            max-request-size: 10MB
+            max-file-size: 500MB
+            max-request-size: 5000MB
 logging:
     charset:
         console: UTF-8
@@ -43,7 +43,12 @@
         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
 #涓嶈繘琛寀serToken杩囨护鐨刄RL锛孈ConfigurationProperties瑕佹眰tokennofilter涓墍鏈夊瓧姣嶉兘灏忓啓
 tokennofilter:
     urls:
@@ -79,6 +84,9 @@
     report:
         webPort: 12350
         idSuffix: 7
+    wechat:
+        webPort: 12351
+        idSuffix: 8
     file:
         idSuffix: 99
     file1:
@@ -111,16 +119,16 @@
     photoZipWidth: 400 #缂╃暐鍥惧昂瀵�
     webFile:
         fmUrl: http://127.0.0.1:${pms.other.webPort}/other # fm鐨剋eb涓婁笅鏂� URL
-        supportedFileTypes: docx,xlsx,pdf
+        supportedFileTypes: docx,xlsx,doc,xls,pdf #鏀寔鐨勬枃妗o紙闈炲獟浣撴枃浠讹紝濡傜収鐗囥�佸綍闊炽�佸綍鍍忥級鏂囦欢绫诲瀷
         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鎴栨湰鍦癐P
+            webUrl: http://127.0.0.1:${pms.nginx.webPort}/webfiles/ #nginx鏈嶅姟璺緞,瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
+            webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id=  #瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
         sv2:
             id: dyFile2
             absolutePath: E:/java/nginx-1.24.0/html/webfiles/
@@ -129,7 +137,7 @@
             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/
@@ -138,7 +146,7 @@
             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/
@@ -147,7 +155,7 @@
             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/
@@ -156,7 +164,7 @@
             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/
@@ -165,7 +173,7 @@
             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/
@@ -174,7 +182,7 @@
             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/
@@ -183,7 +191,7 @@
             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/
@@ -192,7 +200,7 @@
             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/
@@ -201,7 +209,7 @@
             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/
@@ -210,7 +218,7 @@
             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/
@@ -219,4 +227,4 @@
             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=

--
Gitblit v1.8.0