crowdFunding.js
1.57 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// 获取订单总数、今年新增订单数、收入总额、活动总数
const getTotal = params => {
return window.$HTTP.get('CrowdFunding/getTotal', params)
}
// 获取月份
const getMonth = params => {
return window.$HTTP.get('/CrowdFunding/getMonth', params)
}
// 获取商品统计——xx月前5品类
const getGoodsTop5Monthly = params => {
return window.$HTTP.get('CrowdFunding/getGoodsTop5Monthly', params)
}
// 活动统计_xx月车型排名钱5
const getVehicleBrandTop5Monthly = params => {
return window.$HTTP.get('CrowdFunding/getVehicleBrandTop5Monthly', params)
}
// 获取商品统计——整体品类排名
// const getAllGoodsDistribution = params => {
// return window.$HTTP.get('CrowdFunding/getAllGoodsDistribution', params)
// }
// 活动统计_整体车型排名
const getVehicleBrandRanking = params => {
return window.$HTTP.get('CrowdFunding/getVehicleBrandRanking', params)
}
// 近12个月订单量、订单收入趋势
const getOrderMonthlyTrend = params => {
return window.$HTTP.get('CrowdFunding/getOrderMonthlyTrend', params)
}
// 滚动接口
const getGoodsOrderinfoMonthly = params => {
return window.$HTTP.get('/CrowdFunding/getGoodsMonthlyRanking', params)
}
const getAllGoodsDistribution = params => {
return window.$HTTP.get('/CrowdFunding/getVehicleBrandRanking', params)
}
export default {
getTotal,
getGoodsTop5Monthly,
getMonth,
getVehicleBrandTop5Monthly,
// getAllGoodsDistribution,
getVehicleBrandRanking,
getOrderMonthlyTrend,
// getGoodsOrderinfoMonthly,
getAllGoodsDistribution,
getGoodsOrderinfoMonthly
}