26 lines
626 B
TypeScript
26 lines
626 B
TypeScript
import { get } from '@/api/request'
|
|
|
|
export function getStatisticsSummary(params?: any) {
|
|
return get('/api/datacount/summary', params)
|
|
}
|
|
|
|
export function getMemberStatistics(params?: any) {
|
|
return get('/api/datacount/member', params)
|
|
}
|
|
|
|
export function getBookingStatistics(params?: any) {
|
|
return get('/api/datacount/booking', params)
|
|
}
|
|
|
|
export function getSignInStatistics(params?: any) {
|
|
return get('/api/datacount/signin', params)
|
|
}
|
|
|
|
export function getHistoricalStatistics(params?: any) {
|
|
return get('/api/datacount/history', params)
|
|
}
|
|
|
|
export function getStatsOverview() {
|
|
return get('/api/stats/overview')
|
|
}
|