forked from yoone/WEB
94 lines
2.2 KiB
TypeScript
94 lines
2.2 KiB
TypeScript
// @ts-ignore
|
|
/* eslint-disable */
|
|
import { request } from 'umi';
|
|
|
|
/** 此处后端没有提供注释 POST /statistics/getCustomerOrders */
|
|
export async function statisticscontrollerGetcustomerorders(
|
|
body: Record<string, any>,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<any>('/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<any>('/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<any>('/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<any>('/statistics/orderByEmail', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'text/plain',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 此处后端没有提供注释 POST /statistics/restocking */
|
|
export async function statisticscontrollerRestocking(
|
|
body: Record<string, any>,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<any>('/statistics/restocking', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'text/plain',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|
|
|
|
/** 此处后端没有提供注释 POST /statistics/stockForecast */
|
|
export async function statisticscontrollerStockforecast(
|
|
body: Record<string, any>,
|
|
options?: { [key: string]: any },
|
|
) {
|
|
return request<any>('/statistics/stockForecast', {
|
|
method: 'POST',
|
|
headers: {
|
|
'Content-Type': 'text/plain',
|
|
},
|
|
data: body,
|
|
...(options || {}),
|
|
});
|
|
}
|