From c214f0de302017a5a6d227d5c704b4df9335a755 Mon Sep 17 00:00:00 2001 From: nhkefus Date: Fri, 21 Mar 2025 16:39:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E9=94=AE=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=9B=B8=E5=85=B3=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TC1/http_server/app_httpd.h | 4 ++-- TC1/http_server/web/index.html | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/TC1/http_server/app_httpd.h b/TC1/http_server/app_httpd.h index aa4085f..69212d0 100644 --- a/TC1/http_server/app_httpd.h +++ b/TC1/http_server/app_httpd.h @@ -68,10 +68,10 @@ 'socketNames':'%s',\ 'child_lock_enabled':%d,\ 'deviceName':'%s',\ - 'btnClicks':'%s'\ + 'btnClicks':%s\ }" -#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','btnClicks':'%s'}" +#define POWER_INFO_JSON "{'sockets':'%s','idx':%d,'len':%d,'p_count':%ld,'powers':[%s],'up_time':'%s','led_enabled':%d,'total_switch_on':%d,'socketNames':'%s','p_count_1_day_ago':%d,'p_count_2_days_ago':%d,'child_lock_enabled':%d,'deviceName':'%s','btnClicks':%s}" int AppHttpdStart(void); diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index b495846..6a38668 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -20,11 +20,6 @@ -