调整扫码登录的签名

This commit is contained in:
liuwei
2025-06-20 17:04:04 +08:00
parent c68d1c49b3
commit 18a3197201
2 changed files with 3 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ git clone https://github.com/your-username/abot.git
cd abot
# 创建虚拟环境
python -m venv .venv
python3 -m venv .venv
source .venv/bin/activate # Linux/Mac
# 或
.venv\Scripts\activate # Windows

View File

@@ -308,12 +308,14 @@ class Robot:
self.ipad_bot.nickname = data.get("acctSectResp").get("nickName")
self.ipad_bot.alias = data.get("acctSectResp").get("alias")
self.ipad_bot.phone = data.get("acctSectResp").get("bindMobile")
self.ipad_bot.signature = data.get("Signature")
# 更新Robot类的属性
self.wxid = self.ipad_bot.wxid
self.nickname = self.ipad_bot.nickname
self.alias = self.ipad_bot.alias
self.phone = self.ipad_bot.phone
self.signature = self.ipad_bot.signature
self.LOG.info(
f"wechat_ipad登录账号信息: wxid: {self.wxid} 昵称: {self.nickname} 微信号: {self.alias} 手机号: {self.phone}")
break