mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-07 20:45:51 +08:00
update\
This commit is contained in:
parent
5aaa1abe03
commit
6072f3251d
@ -45,9 +45,9 @@ async def get_ap_img(bot_id: str, user_id: str):
|
||||
if uid_list is None:
|
||||
return "请先绑定一个可用CRED & UID再来查询哦~"
|
||||
for uid in uid_list:
|
||||
status = await ark_skd_api.check_cred_valid(uid=uid)
|
||||
if status is not bool:
|
||||
useable_uid_list.append(uid)
|
||||
# status = await ark_skd_api.check_cred_valid(uid=uid)
|
||||
# if status is not bool:
|
||||
useable_uid_list.append(uid)
|
||||
logger.info(f"[每日信息]可用UID: {useable_uid_list}")
|
||||
if len(useable_uid_list) == 0:
|
||||
return "请先绑定一个可用CRED & UID再来查询哦~"
|
||||
|
@ -311,7 +311,7 @@ class BaseArkApi:
|
||||
await self.refresh_token(header["cred"])
|
||||
headers = deepcopy(header)
|
||||
headers["cred"] = header["cred"]
|
||||
# headers["dId"] = await get_d_id()
|
||||
headers["dId"] = await get_d_id()
|
||||
headers = get_sign_header(headers["cred"], url, method, data, headers)
|
||||
raw_data = await self._ark_request(
|
||||
url=url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user