From d4f813d58e82135ddc5e5967712bac7104334bcc Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Thu, 16 Oct 2025 07:05:13 +0800 Subject: [PATCH] =?UTF-8?q?api/auth/wechat/qrcode=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=A4=96=E5=8C=85=E8=A3=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index 7ea0203d..f292f0dc 100755 --- a/app.py +++ b/app.py @@ -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'])