zhangwencui
8 天以前 a2002ba0e8aa2a0e4eee61b5205748d8f6e454fc
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(',') },
  });
}
/** 分配公海给对应负责人 */