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'])