active.js
1.95 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import request from '@/utils/request'
// ******平台活动******
// 营销活动查询
export function activeGetAll(data) {
return request({
url: '/activity/getAll',
method: 'post',
data
})
}
// 添加营销活动
export function activeAdd(data) {
return request({
url: '/activity/save',
method: 'post',
data
})
}
// 营销活动详情查询
export function activeGetById(data) {
return request({
url: '/activity/getById',
method: 'post',
data
})
}
// 修改营销活动
export function activeUpdate(data) {
return request({
url: '/activity/update',
method: 'post',
data
})
}
// 结束营销活动
export function activeEnd(data) {
return request({
url: '/activity/end',
method: 'post',
data
})
}
// 删除营销活动
export function activeDelete(data) {
return request({
url: '/activity/delete',
method: 'post',
data
})
}
// 参与店铺数据管理查询
export function activeGetShops(data) {
return request({
url: '/activity/getShops',
method: 'post',
data
})
}
// 查看商品
export function activeGetProducts(data) {
return request({
url: '/activity/getProducts',
method: 'post',
data
})
}
// 清退
/**
{
"signId": 0
}
*/
export function activeLiquidation(data) {
return request({
url: '/activity/liquidation',
method: 'post',
data
})
}
// 审核
/**
{
"remark": "",
"signId": 0, // 报名id
"state": 0 // 审核状态 0-待审核 1-报名成功 2-报名失败
}
*/
export function activExamine(data) {
return request({
url: '/activity/examine',
method: 'post',
data
})
}
// 审核记录查询
export function activeGetExamines(data) {
return request({
url: '/activity/getExamines',
method: 'post',
data
})
}
// 导出数据
export const excel_shop_detail = (data = {}) => {
return request({
url: '/activity/excel_shop_detail',
method: 'post',
data,
responseType: 'blob'
})
}