增加xss过滤
This commit is contained in:
@@ -41,7 +41,7 @@ def tree():
|
||||
|
||||
|
||||
@admin_dept.route('/save', methods=['POST'])
|
||||
@authorize("admin:dept:edit", log=True)
|
||||
@authorize("admin:dept:add", log=True)
|
||||
def save():
|
||||
req = request.json
|
||||
dept_curd.save_dept(req)
|
||||
|
||||
Reference in New Issue
Block a user