From b7eb1da8220f5b72f6891c3c6471ca386604cce4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 10:38:21 +0800
Subject: [PATCH] feat(dashboard): 添加一袋一码首页并重构相关枚举常量
---
src/api/crm/customer/index.ts | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts
index 49eb84d..4c17fde 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';
@@ -110,7 +110,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