This commit is contained in:
hackrobot
2024-04-11 01:15:10 +08:00
parent 1c4aad647c
commit d5a5cf151b
2 changed files with 2 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ def saveWxidInfo(account_wxid, wxid, openId=None, h5openid=None):
friendItem['openId'] = openId
if h5openid:
friendItem['h5openid'] = h5openid
print("friendItem",friendItem)
friendItemObj = models.User(**friendItem)
new_user = crud.create_user(db=SessionLocal(),
user=friendItemObj)