mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-21 18:48:10 +00:00
44 lines
732 B
TypeScript
44 lines
732 B
TypeScript
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`)
|
|
}
|