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