From ac918503bb5e8fad007348e7e39ba7275b75f334 Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期一, 08 九月 2025 23:33:32 +0800
Subject: [PATCH] 修改取消订单,修改状态为已取消

---
 src/main/resources/application.yml |   50 ++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 42 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 3e402c4..aa6ae63 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,21 +1,28 @@
 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: test
+    active: prod
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
-
+    serialization:
+      write-dates-as-timestamps: false
   #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:
@@ -29,9 +36,6 @@
       # 涓婚敭绫诲瀷
       id-type: auto
       # 閫昏緫鍒犻櫎閰嶇疆
-      logic-delete-field: deleted
-      logic-delete-value: 1
-      logic-not-delete-value: 0
   mapper-locations: classpath*:/mapper/**/*.xml
 
 # 鏃ュ織閰嶇疆
@@ -63,3 +67,33 @@
   enable-consistency-check: true
   # 鍚屾绛栫暐锛歳ealtime锛堝疄鏃跺悓姝ワ級銆乥atch锛堟壒閲忓悓姝ワ級銆乵anual锛堟墜鍔ㄥ悓姝ワ級
   sync-strategy: realtime
+  async:
+    executor:
+      core-pool-size: 4
+      max-pool-size: 16
+      queue-capacity: 500
+      keep-alive-seconds: 60
+      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