| | |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.tenant.annotation.NonDS; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.util.List; |
| | |
| | | public R<Menu> getMenu(Long id) { |
| | | return R.data(menuService.getById(id)); |
| | | } |
| | | @Override |
| | | @GetMapping(MENU_BUTTON) |
| | | public R<List<Menu>> getMenuButtonByType(String btmType) { |
| | | return R.data(menuService.getMenuButtonByType(btmType)); |
| | | } |
| | | |
| | | @Override |
| | | @GetMapping(DEPT) |