From 2903d39b0ad33c444001fc05faf835ec27237d8f Mon Sep 17 00:00:00 2001 From: yinzijian Date: Wed, 3 Dec 2025 19:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=8E=A8=E8=8D=90=E6=97=B6?= =?UTF-8?q?=E6=AE=B500:00?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinzijian --- app/flow_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flow_worker.py b/app/flow_worker.py index 6712da8..368baf9 100644 --- a/app/flow_worker.py +++ b/app/flow_worker.py @@ -135,7 +135,7 @@ def cross_flow_tp_divide(params): res['data']['flow_data'].append({ "flow": round(flow_list[i], 2), "tp": time_str, - "recommend": recommend_tp.get(time_str, 0) + "recommend": 1 if recommend_tp.get(time_str) and time_str != '00:00' else 0 }) current_time += timedelta(minutes=15)