From 9d4f45939870dde9b59d354616d87536d6274ef1 Mon Sep 17 00:00:00 2001
From: p-honggang.li <p-honggang.li@pcitc.com>
Date: 星期三, 03 九月 2025 18:30:07 +0800
Subject: [PATCH] 修改交易员确认

---
 src/api/pointsApi.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/pointsApi.ts b/src/api/pointsApi.ts
index 2cc74b2..acd1e4b 100644
--- a/src/api/pointsApi.ts
+++ b/src/api/pointsApi.ts
@@ -99,7 +99,7 @@
   },
 
   // 浣跨敤涓撻棬鐨勭Н鍒嗘墸鍑忔帴鍙�
-  deductPointsByFlow(userId: string, unitId: string, points: number, orderId: string, remark?: string, dataCategory?: string): ApiPromise {
+  deductPointsByFlow(userId: string, unitId: string, points: number, orderId: string, remark?: string, dataCategory?: string, providerId?: String): ApiPromise {
     return createAxios({
       url: `${url}user/deduct`,  // 浣跨敤鏂扮殑涓撻棬绉垎鎵e噺鎺ュ彛
       method: 'post',
@@ -110,7 +110,8 @@
         orderId,
         remark: remark || `璁㈠崟${orderId}浜ゆ槗鎵e噺绉垎`,
         dataCategory: dataCategory || 'resource_transaction',
-        dataType: 1               // 1琛ㄧず娑堣��
+        dataType: 1,               // 1琛ㄧず娑堣��
+        providerId: providerId
       },
     }) as ApiPromise
   },

--
Gitblit v1.8.0