24 lines
424 B
JavaScript
24 lines
424 B
JavaScript
import request from '@/utils/request'
|
|
|
|
/**
|
|
* 获取统计数据
|
|
*/
|
|
export function getStatistics(params) {
|
|
return request({
|
|
url: '/admin/statistics/getStatistics',
|
|
method: 'post',
|
|
data: params
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 获取统计数据
|
|
*/
|
|
export function getLineChart(params) {
|
|
return request({
|
|
url: '/admin/statistics/getLineChart',
|
|
method: 'post',
|
|
data: params
|
|
})
|
|
}
|