// @ts-ignore /* eslint-disable */ import { request } from 'umi'; /** 此处后端没有提供注释 GET /customer/list */ export async function customercontrollerGetcustomerlist( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.customercontrollerGetcustomerlistParams, options?: { [key: string]: any }, ) { return request('/customer/list', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 此处后端没有提供注释 PUT /customer/rate */ export async function customercontrollerSetrate( body: Record, options?: { [key: string]: any }, ) { return request('/customer/rate', { method: 'PUT', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 POST /customer/tag/add */ export async function customercontrollerAddtag( body: API.CustomerTagDTO, options?: { [key: string]: any }, ) { return request('/customer/tag/add', { method: 'POST', headers: { 'Content-Type': 'application/json', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 DELETE /customer/tag/del */ export async function customercontrollerDeltag( body: API.CustomerTagDTO, options?: { [key: string]: any }, ) { return request('/customer/tag/del', { method: 'DELETE', headers: { 'Content-Type': 'application/json', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 GET /customer/tags */ export async function customercontrollerGettags(options?: { [key: string]: any; }) { return request('/customer/tags', { method: 'GET', ...(options || {}), }); }