mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-04 18:46:36 +00:00
fix(cloud_music): 修改登陆验证
This commit is contained in:
parent
de5d1515c6
commit
6c9b5fc1a1
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ async def handle_function(msg: MessageEvent):
|
|||
"""是否要发送到QQ上面登录 """
|
||||
for _ in range(60): # 限制最大等待时间5分钟(300秒/5秒间隔)
|
||||
code = await check_qr_code(unikey, session)
|
||||
if code in (803,): break # 成功状态
|
||||
if code in (803, 8821): break # 成功状态
|
||||
if code not in (801, 802):
|
||||
print('二维码失效' if code == 800 else f'异常状态码:{code}')
|
||||
break
|
||||
|
|
|
|||
Loading…
Reference in a new issue