增加xss过滤

This commit is contained in:
mkg
2021-06-03 14:38:48 +08:00
parent 10035cc158
commit a1fbf5a0ae
9 changed files with 100 additions and 89 deletions
+1 -1
View File
@@ -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)