mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-05 03:23:45 +08:00
111
This commit is contained in:
parent
94c962f9f6
commit
dce7536dfa
@ -125,14 +125,17 @@ class BaseArkApi:
|
|||||||
attr="cred",
|
attr="cred",
|
||||||
)
|
)
|
||||||
if cred is None:
|
if cred is None:
|
||||||
|
logger.info(f"cred is None {uid}")
|
||||||
return -60
|
return -60
|
||||||
token: Union[str, None] = await ArknightsUser.get_user_attr_by_uid(
|
token: Union[str, None] = await ArknightsUser.get_user_attr_by_uid(
|
||||||
uid=uid,
|
uid=uid,
|
||||||
attr="token",
|
attr="token",
|
||||||
)
|
)
|
||||||
if token is None:
|
if token is None:
|
||||||
|
logger.info(f"token is None {uid}")
|
||||||
return -60
|
return -60
|
||||||
is_vaild = await self.check_cred_valid(cred)
|
is_vaild = await self.check_cred_valid(cred)
|
||||||
|
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)
|
||||||
return -61
|
return -61
|
||||||
|
Loading…
x
Reference in New Issue
Block a user