From bd125eecd57d2f4e559c6170d20157591300fe3d Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期四, 04 九月 2025 20:57:44 +0800
Subject: [PATCH] 修改购物车等BUG

---
 src/api/orderApi.ts |   35 ++++++++++++++++++++++++++++++++++-
 1 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/src/api/orderApi.ts b/src/api/orderApi.ts
index aad0872..5ad9150 100644
--- a/src/api/orderApi.ts
+++ b/src/api/orderApi.ts
@@ -29,9 +29,23 @@
       data
     }) as ApiPromise
   },
+  getBuyerOrderPageWithProductConditions(data: any): ApiPromise {
+    return createAxios({
+      url: `${url}/buyer/page/with-product-conditions`,
+      method: 'post',
+      data
+    }) as ApiPromise
+  },
   getSellerOrderPage(data: any): ApiPromise {
     return createAxios({
       url: `${url}/seller/page`,
+      method: 'post',
+      data
+    }) as ApiPromise
+  },
+  getSellerOrderPageWithProductConditions(data: any): ApiPromise {
+    return createAxios({
+      url: `${url}/seller/page/with-product-conditions`,
       method: 'post',
       data
     }) as ApiPromise
@@ -109,7 +123,17 @@
       method: 'get'
     }) as ApiPromise
   },
-  
+
+  updateOrderStatusToIsEvaluate(orderId: string): ApiPromise {
+    return createAxios({
+      url: `${url}/status/isEvaluate`,
+      method: 'post',
+      params: {
+        orderId
+      }
+    }) as ApiPromise
+  },
+
   updateOrderStatusToNext(orderId: string): ApiPromise {
     return createAxios({
       url: `${url}/status/next`,
@@ -128,6 +152,15 @@
         orderId
       }
     }) as ApiPromise
+  },
+
+  // 鏇存柊璁㈠崟鐨勫伐浣滄祦ID
+  updateWorkflowId(orderId: string, workflowId: string): ApiPromise {
+    return createAxios({
+      url: `${url}/workflow/update`,
+      method: 'post',
+      params: { orderId, workflowId }
+    }) as ApiPromise
   }
 }
 

--
Gitblit v1.8.0