代码优化

This commit is contained in:
liujianjiang 2026-01-09 17:46:16 +08:00
parent a3226f8e99
commit 7d4ed53a59
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ class DealAllTask:
payload = {"padCodes": pad_code, "realIphoneTemplateId": 37}
return self.send_post_get(api_endpoint, payload)
@staticmethod
def set_network_proxy(pad_code: list[str], country: str, proxy_platform="kkoip"):
def set_network_proxy(self,pad_code: list[str], country: str, proxy_platform="kkoip"):
if proxy_platform == "kkoip":
self.logger.info(f"{pad_code}使用kkoip")
set_network_proxy(pad_codes=pad_code, account='6255452-2ff229fb',