示例#1
0
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)
示例#2
0
文件: views.py 项目: joehand/handAPI
def index():
    return jsonify(user=current_user.to_dict())
示例#3
0
文件: views.py 项目: joehand/handAPI
def clear():
    current_user.services = None
    current_user.save()
    return jsonify(user=current_user.to_dict())
示例#4
0
def me_detail():
    data = current_user.to_dict()
    return jsonify(data)