groupTag.js
824 Bytes
// const url = 'http://192.168.1.163:8080/rop-scrm-entmicro/router'
const url = '/rop-scrm-entmicro/router'
// const url = window.$fetchConfig ? window.$fetchConfig.tagUrl + '/rop-scrm-entmicro/router' : 'http://oin7.branch.glsx.com.cn/rop-scrm-entmicro/router'
export default {
/**获取打标签的客户列表 */
getcustomerList(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.customer.list'
return window.$HTTP({
url,
data
})
},
/**标签数据获取 */
gettagList(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.info'
return window.$HTTP({
url,
data
})
},
/**给客户打标签 */
putCustomertag(data = {}) {
data.method = 'entmicro.api.qywechat.tagging.put.customer'
return window.$HTTP({
url,
data
})
}
}