diff --git a/__pycache__/main.cpython-310.pyc b/__pycache__/main.cpython-310.pyc index 875e674..d5f83be 100644 Binary files a/__pycache__/main.cpython-310.pyc and b/__pycache__/main.cpython-310.pyc differ diff --git a/main.py b/main.py index b4dee6f..91bb50e 100644 --- a/main.py +++ b/main.py @@ -64,7 +64,7 @@ def read_users(code, wxid, db: Session = Depends(get_db)): r = res.json() # θΏ”ε›žε‚ζ•° session_key/unionid/errmsg/openid/errcode print('r----', r) - openId = r['openid'] + openId = r['openId'] print('openId----', openId) db_user = crud.get_user_by_openId(db, openId=openId) print('db_user----', db_user)