时间从D盘time.txt获取。

This commit is contained in:
2026-02-05 15:53:54 +08:00
parent 9ce1dbadc1
commit 5c38228a1c
47 changed files with 137352 additions and 50 deletions

View File

@@ -453,6 +453,7 @@ def get_line_info_and_save_global(user_name: str) -> bool:
# 存入全局字典key=line_namevalue=line_num
global_variable.get_upload_breakpoint_dict()[line_name] = line_num
print(f"当前全局字典数据上传线路字典数据:{global_variable.get_upload_breakpoint_dict()}")
# 如果line_name不在列表中则添加
if line_name not in global_variable.get_upload_breakpoint_list():
global_variable.get_upload_breakpoint_list().append(line_name)
@@ -509,3 +510,4 @@ def get_accounts_from_server(yh_id):
except json.JSONDecodeError as e:
print(f"❌ JSON解析失败: {e}")
return []