调整日志信息
This commit is contained in:
@@ -72,7 +72,7 @@ class LoginMixin(WechatAPIClientBase):
|
|||||||
async with aiohttp.ClientSession() as session:
|
async with aiohttp.ClientSession() as session:
|
||||||
response = await session.post(f'http://{self.ip}:{self.port}/api/Login/CheckQR?uuid={uuid}')
|
response = await session.post(f'http://{self.ip}:{self.port}/api/Login/CheckQR?uuid={uuid}')
|
||||||
json_resp = await response.json()
|
json_resp = await response.json()
|
||||||
logger.info("check_login_uuid:{}", json_resp)
|
logger.debug("check_login_uuid:{}", json_resp)
|
||||||
if json_resp.get("Success"):
|
if json_resp.get("Success"):
|
||||||
if json_resp.get("Message") == "登陆成功":
|
if json_resp.get("Message") == "登陆成功":
|
||||||
self.wxid = json_resp.get("Data").get("acctSectResp").get("userName")
|
self.wxid = json_resp.get("Data").get("acctSectResp").get("userName")
|
||||||
|
|||||||
Reference in New Issue
Block a user