支持修改已添加的主播以及自定义打招呼信息

This commit is contained in:
zw
2025-09-05 16:32:27 +08:00
parent f9fff55553
commit ad5d487f25
5 changed files with 87 additions and 145 deletions

View File

@@ -14,3 +14,8 @@ class AnchorModel:
model.anchorId = d.get('anchorId', "")
model.country = d.get('country', "")
return model
# 模型转字典
@classmethod
def modelToDict(cls, model):
return {"anchorId": model.anchorId, "country": model.country}

View File

@@ -2,6 +2,7 @@ import threading
from typing import Dict, Any
from Entity.AnchorModel import AnchorModel
# wda apple bundle id
WdaAppBundleId = "com.yolozsAgent.wda.xctrunner"