groupTag.js
859 Bytes
// const url = 'http://192.168.2.42:8064//rop-scrm-entmicro/router'
const url = '/rop-scrm-entmicro/router'
const returnAll = true
export default {
/**获取打标签的客户列表 */
getcustomerList(data={}) {
data.method = 'entmicro.api.qywechat.tagging.customer.list'
return window.$HTTP({
url,
data,
returnAll
})
},
/**标签数据获取 */
gettagList(data={}) {
data.method = 'entmicro.api.qywechat.tagging.info'
return window.$HTTP({
url,
data,
returnAll
})
},
/**给客户打标签 */
putCustomertag (data={}) {
data.method = 'entmicro.api.qywechat.tagging.put.customer'
return window.$HTTP({
url,
data,
returnAll
})
},
}