diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index 46ba22fc..bfeae234 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -15,11 +15,17 @@ class Index extends CI_Controller private $Log_Client; private $logstore=array('cht'=>'globalhoghlights' ,'ah'=>'asiahighlights' + ,'gh'=>'globalhighlights' ,'ct'=>'chinatravel' ,'yz'=>'yangtzeriver' ,'gl'=>'guilinchina' ,'sht'=>'shanghaihighlights' ,'gm'=>'chinarundreisen' + ,'jp'=>'arachina' + ,'ru'=>'chinahighlights_ru' + ,'it'=>'viaggio-in-cina' + ,'vac'=>'viaje-a-china' + ,'vc'=>'voyageschine' );//站点日志存储库,每个网站对应一个 diff --git a/echarts/views/weixinchat/welcome.php b/echarts/views/weixinchat/welcome.php index 1de5f095..84581af4 100644 --- a/echarts/views/weixinchat/welcome.php +++ b/echarts/views/weixinchat/welcome.php @@ -193,6 +193,18 @@ case 'text': content = item.content.text; break; + case 'link': + content = `${item.content.title}`; + break; + case 'revoke': + content = `撤回了一条消息`; + break; + case 'file': + content = `${item.content.filename}`; + break; + case 'emotion': + content = ``; + break; default://未识别的内容,提示识别 content = '未识别的消息类型:' + item.msgtype; } @@ -214,6 +226,9 @@ }) document.getElementById('chat_msg_list').innerHTML = chat_msg_list; + //滚动条到最底部 + document.getElementById('chat_msg_list').scrollTop = document.getElementById('chat_msg_list').scrollHeight; + //分页导航 let chat_msg_list_page_nav = ''; document.getElementById('chat_msg_list_page_nav').innerHTML = '';