// @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 || {}), }); } /** 此处后端没有提供注释 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 || {}), }); } /** 此处后端没有提供注释 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 || {}), }); }