From 7af23a6bd85475bbfc91f5e23d88009c55f20f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=9D=B0?= Date: Thu, 1 Nov 2018 09:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90WebSocket=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E6=97=A5=E5=BF=97=E5=88=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E6=9B=B4=E6=96=B0SQl=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/index.html | 2 ++ src/main/resources/templates/system/logMessage/index.html | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 2f6767c..c12ca68 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -4,6 +4,8 @@ Aurora 后台管理 + + diff --git a/src/main/resources/templates/system/logMessage/index.html b/src/main/resources/templates/system/logMessage/index.html index 4135abd..952d32c 100644 --- a/src/main/resources/templates/system/logMessage/index.html +++ b/src/main/resources/templates/system/logMessage/index.html @@ -7,9 +7,7 @@ - - - + @@ -36,7 +34,7 @@ var stompClient = null; if(stompClient==null){ var socket =new SockJS('/websocket?token=kl'); - stompClient = Stomp.over(socket); + stompClient = Stomp.over(socket) stompClient.connect({token:"kl"}, function(frame) { stompClient.subscribe('/topic/pullLogger', function(event) { var content=JSON.parse(event.body);