update
This commit is contained in:
2
utils.py
2
utils.py
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user