mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-05 03:23:45 +08:00
log code.text
This commit is contained in:
parent
97ad1dc972
commit
588864d616
@ -1,6 +1,7 @@
|
|||||||
from gsuid_core.bot import Bot
|
from gsuid_core.bot import Bot
|
||||||
from gsuid_core.sv import SV
|
from gsuid_core.sv import SV
|
||||||
from gsuid_core.models import Event
|
from gsuid_core.models import Event
|
||||||
|
from gsuid_core.logger import logger
|
||||||
|
|
||||||
from ..utils.database.models import (
|
from ..utils.database.models import (
|
||||||
ArknightsBind,
|
ArknightsBind,
|
||||||
@ -33,6 +34,7 @@ async def get_resp_msg(bot: Bot, ev: Event):
|
|||||||
code = await bot.receive_resp("请输入验证码:")
|
code = await bot.receive_resp("请输入验证码:")
|
||||||
if code is None or not code.text.isdigit():
|
if code is None or not code.text.isdigit():
|
||||||
return await bot.send("你输入了错误的格式!")
|
return await bot.send("你输入了错误的格式!")
|
||||||
|
logger.info(code.text)
|
||||||
login.token_by_phone_code(code.text)
|
login.token_by_phone_code(code.text)
|
||||||
login.post_account_info_hg()
|
login.post_account_info_hg()
|
||||||
login.user_oauth2_v2_grant()
|
login.user_oauth2_v2_grant()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user