This commit is contained in:
hackrobot
2024-04-11 00:18:58 +08:00
parent 898a1dd672
commit 5050d19928
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ def saveWxidInfo(account_wxid, wxid,openId=None,h5openid=None):
if db_user:
print("wxid already registered")
print("开始更新数据表")
crud.update_user_field(db=SessionLocal(),user_id=wxid,openId=openId,h5openid=h5openid)
crud.update_user_field(db=SessionLocal(),wxid=wxid,openId=openId,h5openid=h5openid)
# 更新数据
# return db_user
else: