临时提交

This commit is contained in:
zw
2025-08-12 18:53:06 +08:00
parent 747126f1f8
commit 1ce16cff46
5 changed files with 102 additions and 31 deletions

View File

@@ -11,7 +11,13 @@ anchorList: list[AnchorModel] = []
# 线程锁
anchorListLock = threading.Lock()
# 账号token
accountToken = None
accountToken = "xHtil6YiAH2QxDgAYVwCfVafx7xkOoeHVfiVgfqfdwe88KZW5jbRsjDS9ZGFILJSGuXTu4V29MgHaYnO3jy2dxpqs77DtAQGnW6AlJ7NItSWSmSaoKRXtCYEng9KlCft"
# 打招呼数据
prologueList = []
# 评论列表
commentsList = []
# 安全删除数据
def removeModelFromAnchorList(model: AnchorModel):
@@ -24,3 +30,4 @@ def addModelToAnchorList(models: list[Dict[str, Any]]):
for dic in models:
obj = AnchorModel.dictToModel(dic)
anchorList.append(obj)