update
This commit is contained in:
2
utils.py
2
utils.py
@@ -38,6 +38,8 @@ def saveWxidInfo(account_wxid, wxid,openId=None,h5openid=None):
|
||||
db_user = crud.get_user_by_wxid(db=SessionLocal(), wxid=wxid)
|
||||
if db_user:
|
||||
print("wxid already registered")
|
||||
print("开始更新数据表")
|
||||
crud.update_user_field(db=SessionLocal(),user_id=wxid,openId=openId,h5openid=h5openid)
|
||||
# 更新数据
|
||||
# return db_user
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user