This commit is contained in:
hackrobot
2024-04-10 20:53:53 +08:00
parent 3869107c64
commit f7d2176475
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ def saveWxidInfo(account_wxid, wxid,openId=None,h5openid=None):
if openId:
friendItem['openId'] = openId
if h5openid:
friendItem['h5openid'] = openId
friendItem['h5openid'] = h5openid
friendItemObj = models.User(**friendItem)
db_user = crud.get_user_by_wxid(db=SessionLocal(), wxid=wxid)
if db_user: