crowdFunding.js
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// 获取订单总数、今年新增订单数、收入总额、活动总数
const getTotal = params => {
return window.$HTTP.get('/CrowdFunding/getTotal', params)
}
// 近12个月订单量、订单收入趋势
const getOrderMonthlyTrend = params => {
return window.$HTTP.get('/CrowdFunding/getOrderMonthlyTrend', params)
}
// 获取商品统计——xx月前5品类
const getGoodsTop5Monthly = params => {
return window.$HTTP.get('/CrowdFunding/getGoodsTop5Monthly', params)
}
// // 每月各类商品订单信息
// const getGoodsOrderinfoMonthly = params => {
// return window.$HTTP.get('/CrowdFunding/getGoodsOrderinfoMonthly', params)
// }
// 获取商品统计——整体品类分布
// const getAllGoodsDistribution = params => {
// return window.$HTTP.get('/CrowdFunding/getVehicleBrandRanking', params)
// }
// 获取月份
const getMonth = params => {
return window.$HTTP.get('/CrowdFunding/getMonth', params)
}
export default {
getTotal,
getOrderMonthlyTrend,
getGoodsTop5Monthly,
// getGoodsOrderinfoMonthly,
// getAllGoodsDistribution,
getMonth
}