From baa2e395fa8be4de0658e9db0e7c1a3ba008f3d5 Mon Sep 17 00:00:00 2001 From: zhaojingkui <1553836110@qq.com> Date: Mon, 19 May 2025 02:36:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=BB=E9=A1=B5=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pPowerManger/httpserver/httpserver.h | 3 --- src/pPowerManger/httpserver/index.h | 4 ++++ src/pPowerManger/httpserver/logpage.h | 16 +++++++++++++++- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/pPowerManger/httpserver/httpserver.h b/src/pPowerManger/httpserver/httpserver.h index 0df1f26..7a45d08 100644 --- a/src/pPowerManger/httpserver/httpserver.h +++ b/src/pPowerManger/httpserver/httpserver.h @@ -45,9 +45,6 @@ public: // 推送系统数据到所有WebSocket客户端 void pushSystemData(); - // 推送日志数据到指定客户端 - void pushLogData(struct mg_connection* c, int page, int pageSize, const std::string& level, const std::string& search); - // 监控日志文件变化并推送新内容 void monitorLogFile(); diff --git a/src/pPowerManger/httpserver/index.h b/src/pPowerManger/httpserver/index.h index 90423e1..50f1875 100644 --- a/src/pPowerManger/httpserver/index.h +++ b/src/pPowerManger/httpserver/index.h @@ -194,6 +194,10 @@ body {