代码优化

This commit is contained in:
liujianjiang 2026-01-09 14:14:13 +08:00
parent b64481643e
commit 77a6008697
1 changed files with 2 additions and 0 deletions

View File

@ -116,8 +116,10 @@ class DealAccount:
self.task_all.upload_file_to_phone([data["pad_code"]], file_name=res_dict["script_name"])
# 设置代理
print(data)
time.sleep(10)
self.task_all.set_network_proxy(pad_code=[data["pad_code"]],country=data["country"])
# 启动对应脚本
time.sleep(10)
self.task_all.async_execute_adb_command(pad_code=data["pad_code"], file_name=res_dict["script_name"])
# 需要新增函数
return True