From 1cdccaf0a06161fcc2a5797e617508c8a7e1f300 Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期六, 06 九月 2025 03:14:53 +0800
Subject: [PATCH] 修改订单创建,发起工作流调用,采用后端处理,增加事务,修改审核同通过和驳回处理,修改根据用户id获取工作流代办信息,再根据代办ids查询订单信息

---
 src/main/resources/application.yml |   27 ++++++++++++++++++++++++---
 1 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 52bb679..06f1cb3 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,13 +1,13 @@
 server:
-  port: 8080
+  port: 8089
   servlet:
     context-path: /admin
 
 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
@@ -70,3 +70,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