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