已经开通并且绑定了企业微信,以下是调用代码,求解答
ar serviceId = '************'
var WXQYID = "**************"
var data = {
corpid:WXQYID,
extInfo:{
url: `https://work.weixin.qq.com/kfid/${serviceId}`,
}
}
wx.openCustomerServiceChat({
...data,
complete(res){
console.log(res)
}
})