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 |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 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 82b38df..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鏈嶅姟璺緞锛屽畨瑁呴儴缃叉椂IP鏀规垚澶栫綉IP鎴栧煙鍚�
-            webDownloadPath: http://127.0.0.1:${pms.file1.webPort}/file/download/down?id= #瀹夎閮ㄧ讲鏃禝P鏀规垚澶栫綉IP鎴栧煙鍚�
+            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/

--
Gitblit v1.8.0