1.用户安装好客服系统
2.用户创建客服系统,获取链接
进入客服系统中,点击网页部署,点击生成html,获取链接(**若在小程序中使用,需要在小程序后台配置业务域名**)
"[http://dianqilai.zjhejiang.com/index/index/home?visiter\_id=&visiter\_name=&avatar=&business\_id=2&groupid=0](http://dianqilai.zjhejiang.com/index/index/home?visiter_id=&visiter_name=&avatar=&business_id=2&groupid=0)"
![](https://box.kancloud.cn/9bb2e5907f07de86c81e222db7ddd523_1919x724.png)
**注意:
客服可以分组 链接会中的groupid就是分组id
如果对应链接下该分组没有客服,则无法对话
分组j使用举例:**
![](https://box.kancloud.cn/cd8b7e265fb179124d9eb8d38be1d391_1522x611.png)
![](https://box.kancloud.cn/aba3f8c1709ee30b87bef65cdb5733f2_1509x543.png)
若该对应分组下没有客服
则会提示
![](https://box.kancloud.cn/35f72a499848a4de95a650f20dfc531a_750x1334.png)
参数说明:
1.
![](https://box.kancloud.cn/cac0831cfd3c7f522f4e47847322131c_789x511.png)
参数需要填写的地方:
![](https://box.kancloud.cn/b0b7e0546b6e7c28e0d7bc5865191265_1409x177.png)
* **请求URL**
> [客服系统域名/index/index/home?visiter\_id=&visiter\_name=&avatar=&business\_id=&&groupid=&product=](https://www.kancloud.cn/wangcwei/dqlkfxt/997587#)
> 微擎版
> [微擎域名/addons/zjhj\_cs//public/index.php/index/index/home?visiter\_id=&visiter\_name=&avatar=&business\_id=&&groupid=&product=](https://www.kancloud.cn/wangcwei/dqlkfxt/997587#)
* **请求方式**
> **GET**
* **请求参数**
| 请求参数 | 参数类型 | 参数说明 |
| --- | --- | --- |
| visiter\_id | Integer,**可为空** | 用户ID |
| visiter\_name | Integer,可为空 | 用户昵称 |
| avatar | String,可为空 | 用户头像 |
| business\_id | Integer,不可为空 | 客服系统ID |
| groupid | Integer,可为空 | 分组ID 从 商户分组信息 获取 |
| product | JSON 可为空 | {"pid":1,"title":" Apple MacBook Air ","img":"[https://cstest.zjhejiang.com/assets/images/pro.jpg","info":"13.3英寸笔记本电脑](https://cstest.zjhejiang.com/assets/images/pro.jpg%22,%22info%22:%2213.3%E8%8B%B1%E5%AF%B8%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91)银色(2017款Core i5 处理器/8GB内存/128GB闪存 MQD32CH/A)","price":"¥7588.00","url":"[https://cstest.zjhejiang.com/demo/index/product1](https://cstest.zjhejiang.com/demo/index/product1)"} |
**例如:这样填写**
[https://cstest.zjhejiang.com/index/index/home?visiter\_id=1&visiter\_name=Andy&avatar=https://cstest.zjhejiang.com/assets/images/test/dawa.jpg&business\_id=1&groupid=0](https://cstest.zjhejiang.com/index/index/home?visiter_id=1&visiter_name=Andy&avatar=https://cstest.zjhejiang.com/assets/images/test/dawa.jpg&business_id=1&groupid=0)
**展示效果图:**
![](https://box.kancloud.cn/15fe68fdc5aca9d2fb934592cb50df14_613x590.png)
**全部参数填写:**
[https://cstest.zjhejiang.com/index/index/home?visiter\_id=1&visiter\_name=Andy&avatar=https://cstest.zjhejiang.com/assets/images/test/dawa.jpg&business\_id=1&groupid=0&product=](https://cstest.zjhejiang.com/index/index/home?visiter_id=1&visiter_name=Andy&avatar=https://cstest.zjhejiang.com/assets/images/test/dawa.jpg&business_id=1&groupid=0&product=){"pid":1,"title":" Apple MacBook Air ","img":"[https://cstest.zjhejiang.com/assets/images/pro.jpg","info":"13.3英寸笔记本电脑](https://cstest.zjhejiang.com/assets/images/pro.jpg%22,%22info%22:%2213.3%E8%8B%B1%E5%AF%B8%E7%AC%94%E8%AE%B0%E6%9C%AC%E7%94%B5%E8%84%91) 银色(2017款Core i5 处理器/8GB内存/128GB闪存 MQD32CH/A)","price":"¥7588.00","url":"[https://cstest.zjhejiang.com/demo/index/product1](https://cstest.zjhejiang.com/demo/index/product1)"}
**展示效果图:**(可以把商品发送出去)
![](https://box.kancloud.cn/d6b2ccae542c46ef75682b90de5d8ee2_3650x767.png)
3. 客服将链接设置到可以网页外链的地方,并且配置好业务域名
打开禾匠商城后台-->系统管理-->商城设置-->客服外链填写
![](https://box.kancloud.cn/d50d56dea0f1bb6defa78fc98c528ba9_1918x947.png)
**展示效果图:**
快捷导航&&面议商品:
![](https://box.kancloud.cn/0ec39a27a5a4107e64fef0efa42b05f2_412x734.png)