“djh”
6 days ago d30017df796e4e4aef20f320f3c27d90ba8cbeff
hazmat-admin/src/main/java/com/gkhy/hazmat/admin/controller/system/SysMenuController.java
@@ -37,7 +37,7 @@
    /**
     * 获取菜单列表
     */
//    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @GetMapping("/list")
    public CommonResult list(SysMenu menu)
    {
@@ -48,7 +48,7 @@
    /**
     * 根据菜单编号获取详细信息
     */
//    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @GetMapping(value = "/{menuId}")
    public CommonResult getInfo(@PathVariable Long menuId)
    {
@@ -82,7 +82,7 @@
    /**
     * 新增菜单
     */
//    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @Log(title = "菜单管理", businessType = BusinessType.INSERT)
    @PostMapping
    public CommonResult add(@Validated @RequestBody SysMenu menu)
@@ -102,7 +102,7 @@
    /**
     * 修改菜单
     */
//    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @PreAuthorize("hasAnyAuthority('hazmat:manage:system')")
    @Log(title = "菜单管理", businessType = BusinessType.UPDATE)
    @PutMapping
    public CommonResult edit(@Validated @RequestBody SysMenu menu)
@@ -126,7 +126,7 @@
    /**
     * 删除菜单
     */
//    @PreAuthorize("hasAnyAuthority('system:menu:remove')")
    @PreAuthorize("hasAnyAuthority('system:menu:remove')")
    @Log(title = "菜单管理", businessType = BusinessType.DELETE)
    @DeleteMapping("/{menuId}")
    public CommonResult remove(@PathVariable("menuId") Long menuId)