mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
#89 优化testclient,自动获取地址
This commit is contained in:
parent
24ccd8a67e
commit
43a0158bef
@ -10,13 +10,40 @@
|
||||
<title>春松客服</title>
|
||||
<!-- 春松客服访客端演示程序 https://github.com/chatopera/cosin/wiki/春松客服访客端演示 -->
|
||||
<!-- 系统:客服接入:网站列表:创建新网站 网站地址(localhost) -->
|
||||
<script defer="true" src="http://localhost:8035/im/104eac.html"></script>
|
||||
<script defer="true" src="/im/104eac.html"></script>
|
||||
<style>
|
||||
tr.top td { border-top: thin solid black; }
|
||||
tr.bottom td { border-bottom: thin solid black; }
|
||||
tr.row td:first-child { border-left: thin solid black; }
|
||||
tr.row td:last-child { border-right: thin solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>春松客服演示客户端</h2>
|
||||
|
||||
<a href="https://github.com/chatopera/cosin/wiki/%E6%98%A5%E6%9D%BE%E5%AE%A2%E6%9C%8D%E8%AE%BF%E5%AE%A2%E7%AB%AF%E6%BC%94%E7%A4%BA" target="_blank">详细文档</a>
|
||||
<h3>设置网站渠道</h3>
|
||||
以管理员身份 <a href="/" target="_blank">登录</a>,导航【系统-客服接入-网站列表-创建新网站】,按照如下内容设置网站渠道。
|
||||
|
||||
<table style="width:100%">
|
||||
<tr class="top bottom row">
|
||||
<th>设置</th>
|
||||
<th>值</th>
|
||||
<th>描述</th>
|
||||
</tr>
|
||||
<tr class="top bottom row">
|
||||
<td>网站名称</td>
|
||||
<td>localhost</td>
|
||||
<td>任意字符串</td>
|
||||
</tr>
|
||||
<tr class="top bottom row">
|
||||
<td>网站地址</td>
|
||||
<td>localhost</td>
|
||||
<td>网站的域名或IP,端口选填,比如 localhost:8080</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
然后,刷新本页面,就可以在右下角看到【在线客服】聊天控件,通过<a href="https://github.com/chatopera/cosin/wiki/%E6%98%A5%E6%9D%BE%E5%AE%A2%E6%9C%8D%E8%AE%BF%E5%AE%A2%E7%AB%AF%E6%BC%94%E7%A4%BA" target="_blank">详细文档</a>进一步了解在任意网站集成客服控件的方法。
|
||||
|
||||
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user