You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
732 B
43 lines
732 B
import request from '@/utils/request'
|
|
|
|
/**
|
|
* 获取统计总数
|
|
*/
|
|
export function getShopCountList() {
|
|
return request.get(`shop/stat/total`)
|
|
}
|
|
|
|
/**
|
|
* 获取今日统计总数
|
|
*/
|
|
export function getShopTodayCountList() {
|
|
return request.get(`shop/stat/today`)
|
|
}
|
|
|
|
/**
|
|
* 获取昨日统计总数
|
|
*/
|
|
export function getShopYesterdayCountList() {
|
|
return request.get(`shop/stat/yesterday`)
|
|
}
|
|
|
|
/**
|
|
* 获取统计图数据
|
|
*/
|
|
export function getShopStat() {
|
|
return request.get(`shop/stat`)
|
|
}
|
|
|
|
/**
|
|
* 获取订单统计
|
|
*/
|
|
export function getShopOrderStat() {
|
|
return request.get(`shop/stat/order`)
|
|
}
|
|
|
|
/**
|
|
* 获取商品统计
|
|
*/
|
|
export function getShopGoodsStat() {
|
|
return request.get(`shop/stat/goods`)
|
|
}
|
|
|