提交 5e379ac0 编写于 作者: Chatopera 研发团队's avatar Chatopera 研发团队

https://gitlab.chatopera.com/chatopera/cosinee/issues/965 add docs link into console and about me

上级 c0a0f54d
......@@ -7,15 +7,15 @@ $(document).ready(function(){
var protocol = window.location.protocol.replace(/:/g,'');
socket = io(protocol+'://'+hostname+':'+port+'/im/agent?orgi='+orgi+"&userid="+userid+"&session="+session+"&admin="+adminuser , {transports: ['websocket'], upgrade: false});
socket.on('connect',function() {
console.log("连接初始化成功");
console.log("[IM] 连接初始化成功");
//请求服务端记录 当前用户在线事件
}).on('disconnect',function() {
console.log("连接已断开");
console.log("[IM] 连接已断开");
//请求服务端记录,当前用户离线
});
socket.on('chatevent', function(data) {
console.log(data.messageType + " ..... message:"+data.message);
// console.log(data.messageType + " ..... message:"+data.message);
}).on('task', function(data) {
}).on('new', function(data) {
......@@ -151,8 +151,8 @@ var WebIM = {
});
},
ping : function(){
loadURL("/message/ping.html") ;
console.log("ping:" + new Date().getTime());
loadURL("/message/ping.html") ;
console.log("[IM] heartbeat: " + new Date().getTime())
},
audioplayer:function(id, file, loop) {
var audioplayer = document.getElementById(id);
......
......@@ -206,9 +206,9 @@
<#if user??>${user.uname!''}<#if tenant??&&tenant.tenantname??>(${tenant.tenantname!''})</#if></#if></span></a>
<dl class="layui-nav-child">
<dd><a href="/apps/profile.html" data-toggle="ajax" data-width="750" data-title="修改资料">个人资料</a></dd>
<dd><a href="javascript:void(0)" onclick="quitSystem()" >退出系统</a></dd>
<dd><a href="javascript:void(0)" onclick="showSystemBuildInfo()">关于产品</a></dd>
</dl>
<dd><a href="javascript:void(0)" onclick="quitSystem()" >退出系统</a></dd>
</dl>
</li>
</ul>
</div>
......@@ -403,11 +403,8 @@
<script>
// 展示系统构建信息
function showSystemBuildInfo(){
console.log("showSystemBuildInfo")
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span></p></div> Release: ${appVersionNumber} <br> Build: ${appBuildDate}.${appVersionAbbrev} <br> Copyright (2018-2019) <a href="https://www.chatopera.com" target="_blank">北京华夏春松科技有限公司</a> <br> Business License applied to ${appCustomerEntity}',
layer.confirm('<div style="text-align:center;"> <img src="/images/favicon.ico" width="50px" height="50px"><p>春松客服<span>&#174;</span></p></div> Release: ${appVersionNumber} <a href="https://docs.chatopera.com/products/cskefu/index.html" target="_blank">文档中心</a> <br> Build: ${appBuildDate}.${appVersionAbbrev} <br> Copyright (2018-2020) <a href="https://www.chatopera.com" target="_blank">北京华夏春松科技有限公司</a> <br> Business License applied to ${appCustomerEntity} <br> <a href="https://docs.chatopera.com/products/cskefu/index.html#%E5%95%86%E4%B8%9A%E6%94%AF%E6%8C%81" target="_blank">购买春松客服企业版或服务</a>',
{icon: -1, title:'关于产品', btn:["关闭"]}, function(index, layero){
//do something
console.log("close showSystemBuildInfo");
layer.close(index);
});
}
......@@ -455,6 +452,9 @@
}
});
});
console.log("新的转机和闪闪星斗/正在缀满没有遮拦的天空\n春松客服,开源的智能客服系统 https://github.com/chatopera/cosin")
</script>
</body>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册