he2802 4 년 전
부모
커밋
b61367fd2c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-admin/src/main/java/com/zhongzheng/controller/system/SysRoleController.java

+ 1 - 1
zhongzheng-admin/src/main/java/com/zhongzheng/controller/system/SysRoleController.java

@@ -171,7 +171,7 @@ public class SysRoleController extends BaseController
     @ApiOperation("删除角色")
     @PreAuthorize("@ss.hasPermi('system:role:remove')")
     @Log(title = "角色管理", businessType = BusinessType.DELETE)
-    @PostMapping("/{roleIds}")
+    @PostMapping("/delete/{roleIds}")
     public AjaxResult remove(@PathVariable Long[] roleIds)
     {
         return toAjax(roleService.deleteRoleByIds(roleIds));