From ca51252fcedba02432e54276000e0c5b7b93c15e Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Thu, 16 Oct 2025 15:40:50 +0800 Subject: [PATCH] update qrcode format --- app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 63211517..8de783b3 100755 --- a/app.py +++ b/app.py @@ -2510,11 +2510,13 @@ def get_wechat_qrcode(): 'wechat_unionid': None } - return jsonify({ + return jsonify({"code":0, + "data": + { 'auth_url': wechat_auth_url, 'session_id': state, 'expires_in': 300 - }), 200 + }}), 200 @app.route('/api/account/wechat/qrcode', methods=['GET'])