ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java
@@ -163,7 +163,7 @@ @PreAuthorize("@ss.hasPermi('permission:dept')") @Log(title = "部门管理", businessType = BusinessType.INSERT) @ApiOperation(value = "部门管理-新增部门", tags = "系统后台-权限管理") @GetMapping("/add") @PostMapping("/add") public AjaxResult add(@RequestParam("name")String name) { deptService.add(name); return success();