feat: 获取保存用户数据

This commit is contained in:
hackrobot
2024-03-21 00:13:11 +08:00
parent e4ddd6d277
commit 31a546dabb
9 changed files with 45 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ class User(Base):
id = Column(Integer, primary_key=True)
wxid = Column(String)
openId = Column(String)
sex = Column(String) #性别
sex = Column(String) #性别 男/女
city = Column(String) #城市
country = Column(String) #"CN"
province = Column(String) #"Hubei"
@@ -27,6 +27,8 @@ class User(Base):
v1 = Column(String)
# {'bighead': 'https://wx.qlogo.cn/mmhead/ver_1/sAOrfgticJnOSE39qcB2mtImUMyANI4NoumWzKbdf87yMYp89Jhszic3mYVgFomW45CSeBxTQK2eyiciakUr9njdvAMtZKHL8w9uIcF8feicZU9ama4xMaU1TlnT4VYam5WHN/0', 'city': 'Jingzhou', 'country': 'CN', 'labels': '', 'nickname': 'Eric', 'province': 'Hubei', 'remark': '', 'sex': '男', 'smallhead': 'https://wx.qlogo.cn/mmhead/ver_1/sAOrfgticJnOSE39qcB2mtImUMyA NI4NoumWzKbdf87yMYp89Jhszic3mYVgFomW45CSeBxTQK2eyiciakUr9njdvAMtZKHL8w9uIcF8feicZU9ama4xMaU1TlnT4VYam5WHN/132', 'source': 6, 'sourceStr': '通过朋友验证消息添加', 'usertype': 1, 'wxaccount': 'small
# zhiyun', 'wxid': 'wxid_4413224132412'}