11号晚临时提交

This commit is contained in:
zw
2025-08-11 22:06:48 +08:00
parent e009577cc9
commit 747126f1f8
8 changed files with 283 additions and 71 deletions

View File

@@ -10,6 +10,8 @@ WdaAppBundleId = "com.vv.wda.xctrunner"
anchorList: list[AnchorModel] = []
# 线程锁
anchorListLock = threading.Lock()
# 账号token
accountToken = None
# 安全删除数据
def removeModelFromAnchorList(model: AnchorModel):
@@ -21,4 +23,4 @@ def addModelToAnchorList(models: list[Dict[str, Any]]):
with anchorListLock:
for dic in models:
obj = AnchorModel.dictToModel(dic)
anchorList.append(obj)
anchorList.append(obj)