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