update qrcode format
This commit is contained in:
6
app.py
6
app.py
@@ -2510,11 +2510,13 @@ def get_wechat_qrcode():
|
|||||||
'wechat_unionid': None
|
'wechat_unionid': None
|
||||||
}
|
}
|
||||||
|
|
||||||
return jsonify({
|
return jsonify({"code":0,
|
||||||
|
"data":
|
||||||
|
{
|
||||||
'auth_url': wechat_auth_url,
|
'auth_url': wechat_auth_url,
|
||||||
'session_id': state,
|
'session_id': state,
|
||||||
'expires_in': 300
|
'expires_in': 300
|
||||||
}), 200
|
}}), 200
|
||||||
|
|
||||||
|
|
||||||
@app.route('/api/account/wechat/qrcode', methods=['GET'])
|
@app.route('/api/account/wechat/qrcode', methods=['GET'])
|
||||||
|
|||||||
Reference in New Issue
Block a user