## 商城举例说明
1.用户安装好客服系统
2.用户创建客服系统,获取链接
进入客服系统中,点击网页部署,点击生成html,获取链接(**若在小程序中使用,需要在小程序后台配置业务域名**)
"[http://kf.scno2.com/index/index/home?visiter\_id=&visiter\_name=&avatar=&business\_id=2&groupid=0](http://kf.scno2.com/index/index/home?visiter_id=&visiter_name=&avatar=&business_id=2&groupid=0)"
![](https://box.kancloud.cn/5c8b67c7c601c596be7ddf3a19a7d229_1018x414.png)
参数说明:
1.![](https://box.kancloud.cn/19fb57b7fd1ae281d405e20b633ede82_1750x694.png)
参数需要填写的地方:
![](https://box.kancloud.cn/dbef7b2e72d7d9a20ed40b7836e51b40_1408x179.png)
* **请求URL**
> [客服系统域名/index/index/home?visiter\_id=&visiter\_name=&avatar=&business\_id=&&groupid=&product=]
* **请求方式**
> **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://kf.scno2.com/assets/images/pro.jpg","info":"13.3英寸笔记本电脑](https://kf.scno2.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://kf.scno2.com/demo/index/product1](https://kf.scno2.com/demo/index/product1)"} |
**例如:这样填写**
[https://kf.scno2.com/index/index/home?visiter\_id=1&visiter\_name=Andy&avatar=https://kf.scno2.com/assets/images/test/dawa.jpg&business\_id=1&groupid=0](https://kf.scno2.com/index/index/home?visiter_id=1&visiter_name=Andy&avatar=https://kf.scno2.com/assets/images/test/dawa.jpg&business_id=1&groupid=0)
**展示效果图:**
![](https://box.kancloud.cn/15fe68fdc5aca9d2fb934592cb50df14_613x590.png)
**全部参数填写:**
[https://kf.scno2.com/index/index/home?visiter\_id=1&visiter\_name=Andy&avatar=https://kf.scno2.com/assets/images/test/dawa.jpg&business\_id=1&groupid=0&product=](https://kf.scno2.com/index/index/home?visiter_id=1&visiter_name=Andy&avatar=https://kf.scno2.com/assets/images/test/dawa.jpg&business_id=1&groupid=0&product=){"pid":1,"title":" Apple MacBook Air ","img":"[https://kf.scno2.com/assets/images/pro.jpg","info":"13.3英寸笔记本电脑](https://kf.scno2.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://kf.scno2.com/demo/index/product1](https://kf.scno2.com/demo/index/product1)"}
**展示效果图:**(可以把商品发送出去)
3. 客服将链接设置到可以网页外链的地方,并且配置好业务域名
打开商城后台-->系统管理-->商城设置-->客服外链填写
![](https://box.kancloud.cn/626c4e1d4ce87176b3e258a0c90b28ad_1024x768.png)