zhongrj
2024-11-19 c61fd74f1ff3de48ff0c8549b5af2aa1844f0113
src/main/java/org/springblade/modules/system/controller/DeptController.java
@@ -131,7 +131,7 @@
   /**
    * 新增或修改
    */
   @PreAuth(RoleConstant.HAS_ROLE_ADMIN)
//   @PreAuth(RoleConstant.HAS_ROLE_ADMIN)
   @PostMapping("/submit")
   @ApiOperationSupport(order = 6)
   @ApiOperation(value = "新增或修改", notes = "传入dept")
@@ -150,7 +150,7 @@
   /**
    * 删除
    */
   @PreAuth(RoleConstant.HAS_ROLE_ADMIN)
//   @PreAuth(RoleConstant.HAS_ROLE_ADMIN)
   @PostMapping("/remove")
   @ApiOperationSupport(order = 7)
   @ApiOperation(value = "删除", notes = "传入ids")