代码优化
This commit is contained in:
parent
a3226f8e99
commit
7d4ed53a59
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue