From 0cd898baff5f2838e47771a0471a7dbb88dd65ab Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期一, 08 九月 2025 18:05:52 +0800
Subject: [PATCH] 修改文件上传大小限制的问题

---
 src/main/resources/application.yml |   35 +++++++++++++++++++++++++++++++----
 1 files changed, 31 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 52bb679..aa6ae63 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,13 +1,15 @@
 server:
-  port: 8080
+  port: 8089
   servlet:
     context-path: /admin
+  tomcat:
+    max-swallow-size: 500MB
 
 spring:
   application:
-    name: web-manage-back
+    name: trade-back
   profiles:
-    active: dev
+    active: prod
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
@@ -16,7 +18,11 @@
   #mcv閰嶇疆
   mvc:
     pathmatch:
-      matching-strategy: ant_path_matcher  
+      matching-strategy: ant_path_matcher
+  servlet:
+    multipart:
+      max-file-size: 500MB
+      max-request-size: 500MB
 
 # MyBatis Plus閰嶇疆
 mybatis-plus:
@@ -70,3 +76,24 @@
       thread-name-prefix: async-cart-
       wait-for-tasks-to-complete-on-shutdown: true
       await-termination-seconds: 30
+
+# 宸ヤ綔娴侀厤缃�
+workflow:
+  # 瀹℃壒鏈嶅姟閰嶇疆
+  approval:
+    base-url: http://192.168.20.51:7098
+    template-relation-url: /approval/templateRelation/relationByType
+    unit-id: "1"
+  # 宸ヤ綔娴佹湇鍔¢厤缃�
+  process:
+    base-url: http://192.168.20.51:7098
+    # base-url: http://36.133.126.111:7098
+    start-process-url: /app/workflow/startProcessAndComplete
+    find-todo-url: /app/workflow/findToList
+    find-done-url: /app/workflow/findHistoryByPage
+    complete-url: /app/workflow/complete
+    reject-url: /app/workflow/rejectStartNode
+  # RestTemplate瓒呮椂閰嶇疆
+  rest-template:
+    connect-timeout: 5000  # 杩炴帴瓒呮椂鏃堕棿锛堟绉掞級
+    read-timeout: 10000    # 璇诲彇瓒呮椂鏃堕棿锛堟绉掞級
\ No newline at end of file

--
Gitblit v1.8.0