wxAccountFans.js
1.13 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
import request from '@/utils/request'
// 创建微信公众号粉丝
export function createWxAccountFans(data) {
return request({
url: '/wechatMp/wx-account-fans/create',
method: 'post',
data: data
})
}
// 更新微信公众号粉丝
export function updateWxAccountFans(data) {
return request({
url: '/wechatMp/wx-account-fans/update',
method: 'put',
data: data
})
}
// 删除微信公众号粉丝
export function deleteWxAccountFans(id) {
return request({
url: '/wechatMp/wx-account-fans/delete?id=' + id,
method: 'delete'
})
}
// 获得微信公众号粉丝
export function getWxAccountFans(id) {
return request({
url: '/wechatMp/wx-account-fans/get?id=' + id,
method: 'get'
})
}
// 获得微信公众号粉丝分页
export function getWxAccountFansPage(query) {
return request({
url: '/wechatMp/wx-account-fans/page',
method: 'get',
params: query
})
}
// 导出微信公众号粉丝 Excel
export function exportWxAccountFansExcel(query) {
return request({
url: '/wechatMp/wx-account-fans/export-excel',
method: 'get',
params: query,
responseType: 'blob'
})
}