// @ts-ignore /* eslint-disable */ import { request } from 'umi'; /** 此处后端没有提供注释 POST /statistics/getCustomerOrders */ export async function statisticscontrollerGetcustomerorders( body: Record, options?: { [key: string]: any }, ) { return request('/statistics/getCustomerOrders', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 GET /statistics/inactiveUsersByMonth */ export async function statisticscontrollerGetinativeusersbymonth( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.statisticscontrollerGetinativeusersbymonthParams, options?: { [key: string]: any }, ) { return request('/statistics/inactiveUsersByMonth', { method: 'GET', params: { ...params, }, ...(options || {}), }); } /** 此处后端没有提供注释 POST /statistics/order */ export async function statisticscontrollerGetorderstatistics( body: API.OrderStatisticsParams, options?: { [key: string]: any }, ) { return request('/statistics/order', { method: 'POST', headers: { 'Content-Type': 'application/json', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 POST /statistics/orderByDate */ export async function statisticscontrollerGetorderbydate( body: string, options?: { [key: string]: any }, ) { return request('/statistics/orderByDate', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 POST /statistics/orderByEmail */ export async function statisticscontrollerGetorderbyemail( body: string, options?: { [key: string]: any }, ) { return request('/statistics/orderByEmail', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 GET /statistics/orderSource */ export async function statisticscontrollerGetordersorce(options?: { [key: string]: any; }) { return request('/statistics/orderSource', { method: 'GET', ...(options || {}), }); } /** 此处后端没有提供注释 POST /statistics/restocking */ export async function statisticscontrollerRestocking( body: Record, options?: { [key: string]: any }, ) { return request('/statistics/restocking', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); } /** 此处后端没有提供注释 POST /statistics/stockForecast */ export async function statisticscontrollerStockforecast( body: Record, options?: { [key: string]: any }, ) { return request('/statistics/stockForecast', { method: 'POST', headers: { 'Content-Type': 'text/plain', }, data: body, ...(options || {}), }); }