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 | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 405988c..aa6ae63 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,12 +2,14 @@ port: 8089 servlet: context-path: /admin + tomcat: + max-swallow-size: 500MB spring: application: name: trade-back profiles: - active: test + 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