gaoluyang
2026-08-11 4807d8b687853e75a815b3aa9aecbc2554063aa4
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(',') },
  });
}
/** 分配公海给对应负责人 */