This commit is contained in:
hackrobot
2024-03-25 11:11:06 +08:00
parent 8f49a28dab
commit 3979b76df4
2 changed files with 6 additions and 2 deletions

Binary file not shown.

View File

@@ -55,8 +55,12 @@ def read_users(code, wxid, db: Session = Depends(get_db)):
new_user = {}
# 异度星球-小程序
payload = {
'appid': config.appid,
'secret': config.secret,
# 'appid': config.appid,
'appid': "wxid_haqoszjheyuz22",
# 'secret': config.secret,
'secret':'49187487591@chatroom',
'js_code': code,
'grant_type': 'authorization_code'
}