From 6164c340e703d4a52227a2b6df5b22bdad112245 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期日, 11 十月 2026 21:21:01 +0800
Subject: [PATCH] fix: 修复 1.导入提示修改

---
 src/api/crm/customer/index.ts |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 4c17fde..a8a03ae 100644
--- a/src/api/crm/customer/index.ts
+++ b/src/api/crm/customer/index.ts
@@ -44,6 +44,13 @@
     file: File;
     updateSupport: boolean;
   }
+
+  /** 瀹㈡埛瀵煎叆缁撴灉 */
+  export interface CustomerImportRespVO {
+    createCustomerNames?: string[]; // 鏂板鎴愬姛鐨勫鎴峰悕
+    updateCustomerNames?: string[]; // 鏇存柊鎴愬姛鐨勫鎴峰悕
+    failureCustomerNames?: Record<string, string>; // 瀵煎叆澶辫触鐨勫鎴峰悕鍙婂師鍥�
+  }
 }
 
 /** 鏌ヨ瀹㈡埛鍒楄〃 */
@@ -88,7 +95,10 @@
 
 /** 瀵煎叆瀹㈡埛 */
 export function importCustomer(data: CrmCustomerApi.CustomerImportReqVO) {
-  return requestClient.upload('/crm/customer/import', data);
+  return requestClient.upload<CrmCustomerApi.CustomerImportRespVO>(
+    '/crm/customer/import',
+    data,
+  );
 }
 
 /** 鑾峰彇瀹㈡埛绮剧畝淇℃伅鍒楄〃 */

--
Gitblit v1.9.3