expandedGold.js
1.4 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
const getTotal = params => {
return window.$HTTP.get('ExpandedGold/getTotal', params)
}
const getMonth = params => {
return window.$HTTP.get('ExpandedGold/getMonth', params)
}
// 优惠券统计_xxx月订单量排名前5的优惠券
const getTop5CouponMonthly = params => {
return window.$HTTP.get('ExpandedGold/getTop5CouponMonthly\n', params)
}
// 活动(链接)统计_xx月订单量排名前5活动场次
const getActivitiesMonthly = params => {
return window.$HTTP.get('ExpandedGold/getActivitiesMonthly', params)
}
// 活动(链接)统计_订单量排名前10的活动
const getTop5Activities = params => {
return window.$HTTP.get('ExpandedGold/getTop5Activities', params)
}
// 优惠券统计_订单量排名(前10)的优惠券
const getTop10Coupon = params => {
return window.$HTTP.get('ExpandedGold/getTop10Coupon', params)
}
const getOrderMonthlyTrend = params => {
return window.$HTTP.get('ExpandedGold/getOrderMonthlyTrend', params)
}
// 滚动接口
const getGoodsOrderinfoMonthly = params => {
return window.$HTTP.get('/ExpandedGold/getActivitiesMonthlyRanking', params)
}
const getAllGoodsDistribution = params => {
return window.$HTTP.get('/ExpandedGold/getTop10Coupon', params)
}
export default {
getTotal,
getMonth,
getTop5Activities,
getTop5CouponMonthly,
getActivitiesMonthly,
getTop10Coupon,
getOrderMonthlyTrend,
getGoodsOrderinfoMonthly,
getAllGoodsDistribution
}