保存排序添加编辑权限

This commit is contained in:
RuoYi
2026-03-21 19:08:52 +08:00
parent b869c9622a
commit fa224503e4
2 changed files with 2 additions and 0 deletions

View File

@@ -114,6 +114,7 @@ public class SysDeptController extends BaseController
/**
* 保存部门排序
*/
@PreAuthorize("@ss.hasPermi('system:dept:edit')")
@Log(title = "保存部门排序", businessType = BusinessType.UPDATE)
@PutMapping("/updateSort")
public AjaxResult updateSort(@RequestBody Map<String, String> params)

View File

@@ -133,6 +133,7 @@ public class SysMenuController extends BaseController
/**
* 保存菜单排序
*/
@PreAuthorize("@ss.hasPermi('system:menu:edit')")
@Log(title = "保存菜单排序", businessType = BusinessType.UPDATE)
@PutMapping("/updateSort")
public AjaxResult updateSort(@RequestBody Map<String, String> params)