api/auth/wechat/qrcode接口外包裹

This commit is contained in:
2025-10-16 07:05:13 +08:00
parent 05063374c0
commit d4f813d58e

11
app.py
View File

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