xlb-main-login
Version:
``` yarn install ```
38 lines (33 loc) • 798 B
JavaScript
import { default_host_api } from '@/api/config'
import { axios } from '@/utils/request'
// 成员列表y
export function getStaff(params) {
return axios({
url: default_host_api + '/wecom-conversation/latest-record/staff',
method: 'get',
params,
})
}
// 客户列表
export function getCustomer(params) {
return axios({
url: default_host_api + '/wecom-conversation/latest-record/external',
method: 'get',
params,
})
}
export function getData(params) {
return axios({
url: default_host_api + '/wecom-conversation/data',
method: 'get',
params,
})
}
// 判断是否有权限
export function getLicenceStaff(params) {
return axios({
url: default_host_api + '/wecom-conversation/conversation/licence-staff',
method: 'get',
params,
})
}