liu
2 天以前 b3383d96db5b39e03edfece495572a3120edcd61
src/api/crm/customer/index.ts
@@ -44,6 +44,13 @@
    file: File;
    updateSupport: boolean;
  }
  /** 客户导入结果 */
  export interface CustomerImportRespVO {
    createCustomerNames?: string[]; // 新增成功的客户名
    updateCustomerNames?: string[]; // 更新成功的客户名
    failureCustomerNames?: Record<string, string>; // 导入失败的客户名及原因
  }
}
/** 查询客户列表 */
@@ -88,7 +95,10 @@
/** 导入客户 */
export function importCustomer(data: CrmCustomerApi.CustomerImportReqVO) {
  return requestClient.upload('/crm/customer/import', data);
  return requestClient.upload<CrmCustomerApi.CustomerImportRespVO>(
    '/crm/customer/import',
    data,
  );
}
/** 获取客户精简信息列表 */