部门列表不需要权限控制

This commit is contained in:
none
2023-03-06 10:56:35 +08:00
parent 9aa63dba66
commit 866b8e0759
3 changed files with 0 additions and 3 deletions

View File

@@ -33,7 +33,6 @@ public class DepartmentController {
@Autowired
private ApplicationContext ctx;
@BackendPermissionMiddleware(slug = BPermissionConstant.DEPARTMENT_INDEX)
@GetMapping("/index")
public JsonResponse index() {
Map<Integer, List<Department>> departments = departmentService.all().stream().collect(Collectors.groupingBy(Department::getParentId));