From 7a7fd04e4063f3641c0480b504628dfcc50d8f35 Mon Sep 17 00:00:00 2001
From: haoslm <6083297@qq.com>
Date: Mon, 27 Jul 2026 14:13:50 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2=E6=A1=86?=
=?UTF-8?q?=EF=BC=8C=E5=A4=84=E7=90=86=E6=97=A5=E6=8A=A5=E8=87=AA=E5=8A=A8?=
=?UTF-8?q?=E7=94=9F=E6=88=90=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.py | 2 +-
templates/index.html | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/app.py b/app.py
index 454f8e8..427d63d 100644
--- a/app.py
+++ b/app.py
@@ -134,7 +134,7 @@ def scheduled_job():
result = generate_daily_report(config['id'])
if result['success']:
- log_info(f' ✓ 成功:{result["total_orders"]} 条订单,金额:{result["total_amount"]}', 'scheduler')
+ log_info(f' ✓ 成功:{result["total_orders"]} 条订单,总电量:{result.get("total_degree", 0)} kWh', 'scheduler')
success_count += 1
else:
log_error(f' ✗ 失败:{result["message"]}', 'scheduler')
diff --git a/templates/index.html b/templates/index.html
index bc25c6d..2ba82a9 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -172,7 +172,7 @@
至
-
+