当前位置:网站首页>小程序对接企业微信客服
小程序对接企业微信客服
2022-08-04 12:32:00 【痞子Monkey】
一:小程序后台管理-关联企业微信客服
注意:企业ID必须跟该小程序的企业主体一样;

二、登录企业微信-选择客服
登录企业微信后台-》应用管理-》应用-》微信客服
接入场景-》在微信内其他场景接入-》去接入-》选择客服-》复制客服链接
注意:如果需要后台对接客服信息的话需要开启“通过API管理微信客服”的,如果不需要就不用开启;

三、设置客服的自动回复
在企业微信后台设置,就是上张图微信客服往下面拉就是服务工具
四、小程序中-接入客服事件
/* 写个点击事件getCustomerService 打开微信客服 */
getCustomerService() {
wx.openCustomerServiceChat({
extInfo: {
url: 'https://work.weixin.qq.com/xxxxxxxx' //这个就是客服链接
},
corpId: 'ww97xxxxxxxxx', //企业ID
success(res) {
console.log("成功")
},
fail(err) {
console.log("失败", err)
}
})
},边栏推荐
猜你喜欢

Focusing on data sources, data quality and model performance to build a credit profile of small and micro enterprises

rpm安装提示error: XXX: not an rpm package (or package manifest):

MATLAB——图像分块

接入华为游戏防沉迷,点击防沉迷弹窗后游戏闪退

程序猿七夕礼物-如何30分钟给女朋友快速搭建专属语聊房

ReentrantLock 原理

持续交付(四)Jenkins多线程任务执行

Cool and efficient data visualization big screen, it's really not that difficult to do!丨Geek Planet

DC-DC电源中前馈电容的选择

什么是 DevOps?看这一篇就够了!
随机推荐
TensorFlow学习记录(三):高阶操作 & 神经网络与全连接层
Django框架MySQL数据库到models模型的映射关系
力扣每日一题-第48天-345. 反转字符串中的元音字母
使用COLMAP初步三维重建
电源输出的Overshoot和Undershoot 测试
Motion Regulations (18) - and check the basic questions - gang
Hit the interview!The latest interview booklet of Ali Jin, nine silver and ten is stable!
小程序在政务服务平台建设中如何发挥价值
Geoffrey Hinton:深度学习的下一个大事件
用VbScript控制光驱
高速电路PCB布局布线参考
“蔚来杯“2022牛客暑期多校训练营5 B、C、F、G、H、K
RobotFramework二次开发(一)
常用代码模板1——基础语法
Shell loop statement (for, while, until)
ShanDong Multi-University Training #4 A、B、C、G
【UML】信息系统分析与设计知识点总结
Escape character is ‘^]’什么意思?怎么使用telnet
DC/DC电感底部要不要覆铜?
使用SQLServer复制数据库