예제 #1
0
def admin_del_permission():
    if request.method == "POST":
        ids = request.values.get('id')
        data = common_del(Role, ids, db)
        return jsonify(data)
예제 #2
0
def admin_del_role():
    if request.method == "POST":
        ids = request.values.get('id')
        data = common_del(Auth, ids, db)
        return jsonify(data)
예제 #3
0
def list_all_del():
    if request.method == "POST":
        ids = request.values.get('id')
        data = common_del(Tasks, ids, db)
        return jsonify(data)