Skip to content

接入客服功能(企业微信)

WARNING

必须有用户点击事件

用户点击按钮后(必须有点击),打开微信客服。

示例代码

js
wx.openCustomerServiceChat({
  extInfo: { url: '' },
  corpId: '',
  success(res) {},
  fail(error) {},
})

参考文章: 小程序中接入微信客服