📅  最后修改于: 2022-03-11 14:45:22.774000             🧑  作者: Mango
from flask import jsonify
@app.route('/_get_current_user')
def get_current_user():
return jsonify(username=g.user.username,
email=g.user.email,
id=g.user.id)