增加切换账号功能

This commit is contained in:
2025-09-28 20:42:01 +08:00
parent d876743d3e
commit d543c6f757
28 changed files with 937 additions and 137 deletions

View File

@@ -201,7 +201,10 @@ class JsonUtils:
if not isinstance(data, list):
return []
# 过滤 sender 为空字符串的项
return [item for item in data if isinstance(item, dict) and item.get("sender", "").strip()]
# return [item for item in data if isinstance(item, dict) and item.get("sender", "").strip()]
return [item for item in data if isinstance(item, dict)]
@classmethod
def delete_json_items(cls,