mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 01:45:53 +08:00
commit message
This commit is contained in:
20
seller/src/api/statistics.js
Normal file
20
seller/src/api/statistics.js
Normal file
@@ -0,0 +1,20 @@
|
||||
// 统一请求路径前缀在libs/axios.js中修改
|
||||
import {getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken} from '@/libs/axios';
|
||||
|
||||
//商品统计
|
||||
export const getGoodsStatisticsData = (params) => {
|
||||
return getRequest(`/statistics/goods`, params)
|
||||
}
|
||||
|
||||
//获取订单统计金额
|
||||
export const getOrderStatisticsPrice = (params) => {
|
||||
return getRequest(`/statistics/order/getPrice`, params)
|
||||
}
|
||||
|
||||
//订单统计列表
|
||||
export const getOrderStatistics = (params) => {
|
||||
return getRequest(`/statistics/order/getByPage`, params)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user