api/auth/wechat/qrcode接口外包裹
This commit is contained in:
11
app.py
11
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'])
|
||||
|
||||
Reference in New Issue
Block a user