39 lines
698 B
JavaScript
39 lines
698 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询列表
|
|
export function list(query) {
|
|
return request({
|
|
url: '/system/wechat/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询用户列表列表
|
|
export function userList(query) {
|
|
return request({
|
|
url: '/system/wechat/userList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 导出
|
|
export function exportWechatReport(query) {
|
|
return request({
|
|
url: '/system/export/exportWechatReport',
|
|
method: 'get',
|
|
responseType: 'blob',
|
|
params: query
|
|
})
|
|
}
|
|
export function exportWorkReport(query) {
|
|
return request({
|
|
url: '/system/wechat/export',
|
|
method: 'get',
|
|
responseType: 'blob',
|
|
params: query
|
|
})
|
|
}
|
|
|