oil-station/fuintCashierWeb/src/api/home.js

19 lines
337 B
JavaScript
Raw Normal View History

2023-10-09 11:06:01 +08:00
import request from '@/utils/request'
// 获取首页数据
export function getHomeData() {
return request({
url: 'backendApi/home/index',
method: 'get'
})
}
// 获取统计数据
export function getStatisticData(query) {
return request({
url: 'backendApi/home/statistic',
method: 'get',
params: query
})
}