style: format common setting

This commit is contained in:
hu.sima
2023-08-10 15:30:01 +08:00
parent 88cea199c1
commit 9756f70044
8 changed files with 83 additions and 116 deletions

View File

@@ -100,7 +100,7 @@ class DepartmentSortView(APIView):
def put(self):
"""
修改部门排序,只能在同一个上级内排序
only can sort in the same parent
"""
department_list = request.json.get('department_list', None)
if department_list is None: