business.js
2.59 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
import request from '@/utils/request'
// ******商家列表******
// 商家管理查询
export function businessListGetAll(data) {
return request({
url: '/shop/getAll',
method: 'post',
data
})
}
// 新增商家
export function businessListSave(data) {
return request({
url: '/shop/save',
method: 'post',
data
})
}
// 商家编辑查询
export function businessListGetById(data) {
return request({
url: '/shop/getById',
method: 'post',
data
})
}
// 修改商家
export function businessListUpdate(data) {
return request({
url: '/shop/update',
method: 'post',
data
})
}
// 修改个体商家
export function updateIndividual(data) {
return request({
url: '/shop/updateIndividual',
method: 'post',
data
})
}
// 修改企业商家
export function updateEnterprise(data) {
return request({
url: '/shop/updateEnterprise',
method: 'post',
data
})
}
// 启停用商家
export function businessListStart(data) {
return request({
url: '/shop/start',
method: 'post',
data
})
}
export function delBusinessById(data) {
return request({
url: '/shop/cleanShop',
method: 'post',
data
})
}
// 入驻申请
// 入驻申请管理查询
export function settlementGetAll(data) {
return request({
url: '/check/getAll',
method: 'post',
data
})
}
// 入驻申请详情
export function settlementGetById(data) {
return request({
url: '/check/getById',
method: 'post',
data
})
}
// 处理
export function settlementHandle(data) {
return request({
url: '/check/handle',
method: 'post',
data
})
}
// 删除
export function settlementDelete(data) {
return request({
url: '/check/delete',
method: 'post',
data
})
}
// **********************关键词**********************
// 启停用
export function wordStart(data) {
return request({
url: '/word/start',
method: 'post',
data
})
}
// 启停用
export function wordGetAll(data) {
return request({
url: '/word/getAll',
method: 'post',
data
})
}
// 添加关键词
export function wordAdd(data) {
return request({
url: '/word/save',
method: 'post',
data
})
}
// 修改关键词查询
export function wordGetById(data) {
return request({
url: '/word/getById',
method: 'post',
data
})
}
// 修改关键词
export function wordUpdate(data) {
return request({
url: '/word/update',
method: 'post',
data
})
}
// 删除关键词
export function wordDelete(data) {
return request({
url: '/word/delete',
method: 'post',
data
})
}