From 27c8277d717b34b55f3ea967027b53b067f77df3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 16:58:49 +0800
Subject: [PATCH] feat 功能变更
---
src/api/crm/customer/index.ts | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 49eb84d..b5f7a1c 100644
--- a/src/api/crm/customer/index.ts
+++ b/src/api/crm/customer/index.ts
@@ -1,4 +1,4 @@
-import type { PageParam, PageResult } from '../../../packages/effects/request/src';
+import type { PageParam, PageResult } from '@vben/request';
import type { CrmPermissionApi } from '#/api/crm/permission';
@@ -36,6 +36,11 @@
createTime: Date; // 鍒涘缓鏃堕棿
updateTime: Date; // 鏇存柊鏃堕棿
poolDay?: number; // 璺濈杩涘叆鍏捣澶╂暟
+ customerType?: string; // 瀹㈡埛鍒嗙被锛堟斂浼�/宸ヤ笟/灞呮皯绛夛級
+ creditLevel?: string; // 褰撳墠淇$敤绛夌骇
+ creditScore?: number; // 褰撳墠淇$敤鍒�
+ overdueAmount?: number; // 娆犺垂閲戦锛堟湭鍥炴+閫炬湡锛�
+ overdueCount?: number; // 娆犺垂绗旀暟
}
/** 瀹㈡埛瀵煎叆璇锋眰 */
@@ -110,7 +115,9 @@
/** 棰嗗彇鍏捣瀹㈡埛 */
export function receiveCustomer(ids: number[]) {
- return requestClient.put('/crm/customer/receive', { ids: ids.join(',') });
+ return requestClient.put('/crm/customer/receive', null, {
+ params: { ids: ids.join(',') },
+ });
}
/** 鍒嗛厤鍏捣缁欏搴旇礋璐d汉 */
--
Gitblit v1.9.3