From 40f981861fa7c21187045254c2a5b4120a8bba33 Mon Sep 17 00:00:00 2001 From: BerryCol Date: Wed, 9 Dec 2020 17:44:03 +0800 Subject: [PATCH] =?UTF-8?q?stat=E6=95=B0=E6=8D=AE=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=BA=8F=E5=88=97=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/api/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/api/api.go b/protocol/api/api.go index 778f3fc..8e6f92b 100755 --- a/protocol/api/api.go +++ b/protocol/api/api.go @@ -195,8 +195,8 @@ func (server *Server) GetLiveStatics(w http.ResponseWriter, req *http.Request) { return true }) - resp, _ := json.Marshal(msgs) - res.Data = resp + //resp, _ := json.Marshal(msgs) + res.Data = msgs } //http://127.0.0.1:8090/control/pull?&oper=start&app=live&name=123456&url=rtmp://192.168.16.136/live/123456