代码优化
This commit is contained in:
parent
938b8ebf15
commit
5b68cb9cc1
|
|
@ -113,6 +113,8 @@ class DealAccount:
|
||||||
print(f"云机:{data['pad_code']} 环境还原成功")
|
print(f"云机:{data['pad_code']} 环境还原成功")
|
||||||
# 下载执行脚本
|
# 下载执行脚本
|
||||||
self.task_all.upload_file_to_phone([data["pad_code"]], file_name=res_dict["script_name"])
|
self.task_all.upload_file_to_phone([data["pad_code"]], file_name=res_dict["script_name"])
|
||||||
|
# 设置代理
|
||||||
|
self.task_all.set_network_proxy(pad_code=[data["pad_code"]],country=data["country"])
|
||||||
# 启动对应脚本
|
# 启动对应脚本
|
||||||
self.task_all.async_execute_adb_command(pad_code=data["pad_code"], file_name=res_dict["script_name"])
|
self.task_all.async_execute_adb_command(pad_code=data["pad_code"], file_name=res_dict["script_name"])
|
||||||
# 需要新增函数
|
# 需要新增函数
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue