This commit is contained in:
hackrobot
2024-04-11 00:16:43 +08:00
parent cd36fd281a
commit 898a1dd672
2 changed files with 6 additions and 0 deletions

View File

@@ -73,5 +73,7 @@ def update_user_field(db: Session, user_id: str, openId=None, h5openid=None):
# 提交更改
db.commit()
db.refresh(user)
print('用户数据更新')
return user
print('用户数据查询失败')
return False