取消menu动态加载
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
// package com.labelsys.backend.controller;
|
|
||||||
|
|
||||||
// import com.labelsys.backend.common.Result;
|
|
||||||
// import com.labelsys.backend.context.UserContext;
|
|
||||||
// import com.labelsys.backend.dto.response.MenuResponse;
|
|
||||||
// import com.labelsys.backend.service.MenuService;
|
|
||||||
// import io.swagger.v3.oas.annotations.Operation;
|
|
||||||
// import io.swagger.v3.oas.annotations.tags.Tag;
|
|
||||||
// import java.util.List;
|
|
||||||
// import lombok.RequiredArgsConstructor;
|
|
||||||
// import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
// import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
// import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
// @Tag(name = "菜单管理")
|
|
||||||
// @RestController
|
|
||||||
// @RequestMapping("/api/menus")
|
|
||||||
// @RequiredArgsConstructor
|
|
||||||
// public class MenuController {
|
|
||||||
|
|
||||||
// private final MenuService menuService;
|
|
||||||
|
|
||||||
// @Operation(summary = "获取当前用户菜单")
|
|
||||||
// @GetMapping("/current")
|
|
||||||
// public Result<List<MenuResponse>> currentMenus() {
|
|
||||||
// return Result.success(menuService.listCurrentMenus(UserContext.requireUser()));
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
Reference in New Issue
Block a user