From 5e379ac0ab032c568047df0ffee01f6d7719ba4a Mon Sep 17 00:00:00 2001 From: Hai Liang Wang Date: Wed, 20 May 2020 07:23:18 +0800 Subject: [PATCH] https://gitlab.chatopera.com/chatopera/cosinee/issues/965 add docs link into console and about me --- .../app/src/main/resources/static/js/CSKeFu_IM.v1.js | 10 +++++----- .../app/src/main/resources/templates/apps/index.html | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/contact-center/app/src/main/resources/static/js/CSKeFu_IM.v1.js b/contact-center/app/src/main/resources/static/js/CSKeFu_IM.v1.js index af83d88..4268672 100644 --- a/contact-center/app/src/main/resources/static/js/CSKeFu_IM.v1.js +++ b/contact-center/app/src/main/resources/static/js/CSKeFu_IM.v1.js @@ -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); diff --git a/contact-center/app/src/main/resources/templates/apps/index.html b/contact-center/app/src/main/resources/templates/apps/index.html index 4a3f1e7..4a470ea 100644 --- a/contact-center/app/src/main/resources/templates/apps/index.html +++ b/contact-center/app/src/main/resources/templates/apps/index.html @@ -206,9 +206,9 @@ <#if user??>${user.uname!''}<#if tenant??&&tenant.tenantname??>(${tenant.tenantname!''})
个人资料
-
退出系统
关于产品
-
+
退出系统
+ @@ -403,11 +403,8 @@ -- GitLab