From 51f0be3efa97c794be5d7857acf31a6d6dba736f Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期三, 20 三月 2024 17:30:52 +0800 Subject: [PATCH] 添加日志 --- log_module/log_export.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/log_module/log_export.py b/log_module/log_export.py index 8b5eac8..5fee60b 100644 --- a/log_module/log_export.py +++ b/log_module/log_export.py @@ -370,8 +370,8 @@ # 鍔犺浇l2璁㈠崟鎴愪氦鏁版嵁 -def load_huaxin_deal_record(code): - path = f"{constant.get_path_prefix()}/logs/huaxin/l2/transaction_desc.{tool.get_now_date_str()}.log" +def load_huaxin_deal_record(code,date = tool.get_now_date_str()): + path = f"{constant.get_path_prefix()}/logs/huaxin/l2/transaction_desc.{date}.log" # 鏍煎紡:[(璁㈠崟鍙�,鎵嬫暟,寮�濮嬫垚浜ゆ椂闂�,鎴愪氦缁撴潫鏃堕棿,涓嬪崟鎵嬫暟)] fdatas = [] lines = __load_file_content(path) -- Gitblit v1.8.0