mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-06-19 05:45:03 +08:00
111
This commit is contained in:
parent
37b992ce47
commit
32aee7d20d
@ -3,6 +3,7 @@ import hmac
|
|||||||
import json
|
import json
|
||||||
import time
|
import time
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
|
from tokenize import Token
|
||||||
from typing import Any, Dict, Literal, Tuple, Union, cast
|
from typing import Any, Dict, Literal, Tuple, Union, cast
|
||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
@ -134,7 +135,7 @@ class BaseArkApi:
|
|||||||
if token is None:
|
if token is None:
|
||||||
logger.info(f"token is None {uid}")
|
logger.info(f"token is None {uid}")
|
||||||
return -60
|
return -60
|
||||||
is_vaild = await self.check_cred_valid(uid)
|
is_vaild = await self.check_cred_valid(cred=cred, token=Token)
|
||||||
logger.info(f"is_vaild {is_vaild}")
|
logger.info(f"is_vaild {is_vaild}")
|
||||||
if isinstance(is_vaild, bool):
|
if isinstance(is_vaild, bool):
|
||||||
# await ArknightsUser.delete_user_data_by_uid(uid)
|
# await ArknightsUser.delete_user_data_by_uid(uid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user