Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
yzhh 2023-09-02 17:04:44 +08:00
parent 5682eb9d38
commit bcad0db9ad

View file

@ -26,5 +26,5 @@ async def mkey(msg: Bot.MessageSession, device: str, month: int, day: int, inqui
api_call = f"https://mkey.eiphax.tech/api?platform={device_code}&inquiry={inquiry_num}&month={month}&day={day}"
if device_id:
api_call += f"&aux={device_id}"
result = await get_url(api_call, '200', fmt='json')
result = await get_url(api_call, 200, fmt='json')
await msg.finish(f'您的重置密码是:{result["key"]}')