update qrcode format

This commit is contained in:
2025-10-16 15:40:50 +08:00
parent 0e638e21c1
commit ca51252fce

6
app.py
View File

@@ -2510,11 +2510,13 @@ def get_wechat_qrcode():
'wechat_unionid': None 'wechat_unionid': None
} }
return jsonify({ return jsonify({"code":0,
"data":
{
'auth_url': wechat_auth_url, 'auth_url': wechat_auth_url,
'session_id': state, 'session_id': state,
'expires_in': 300 'expires_in': 300
}), 200 }}), 200
@app.route('/api/account/wechat/qrcode', methods=['GET']) @app.route('/api/account/wechat/qrcode', methods=['GET'])