|
@@ -13,7 +13,12 @@ import com.chelvc.framework.base.util.ErrorUtils;
|
|
|
import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.PutMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* 菜单接口
|
|
@@ -75,14 +80,4 @@ public class MenuController {
|
|
|
public List<MenuDTO> listMenuTrees(@Valid MenuQueryParam param) {
|
|
|
return this.menuService.listMenuTrees(param);
|
|
|
}
|
|
|
-
|
|
|
- /**
|
|
|
- * 批量删除菜单
|
|
|
- *
|
|
|
- * @param ids 菜单主键集合
|
|
|
- */
|
|
|
- @DeleteMapping("/menu")
|
|
|
- public void deleteMenus(@RequestBody List<Long> ids) {
|
|
|
- this.menuService.deleteMenus(ids);
|
|
|
- }
|
|
|
}
|