diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/FlavorController.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/FlavorController.java index f2024f21..f3956f90 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/FlavorController.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/FlavorController.java @@ -117,7 +117,7 @@ public class FlavorController { } @Operation(tags = {"CMC", "CSC"}, summary = "查询物理机规格") - @DeleteMapping("/listPhysical") + @GetMapping("/listPhysical") public GeneralResult listPhysical(@RequestParam(value = "vendorId") Long vendorId, @RequestParam(value = "regionId") String regionId, @RequestParam(value = "zoneId") String zoneId, diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/ImageController.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/ImageController.java index a6cf6e5b..d2d4ce63 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/ImageController.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/ImageController.java @@ -300,7 +300,7 @@ public class ImageController { } @Operation(tags = {"CMC", "CSC"}, summary = "查询物理机镜像") - @DeleteMapping("/listPhysical") + @GetMapping("/listPhysical") public GeneralResult listPhysical(@RequestParam(value = "vendorId") Long vendorId, @RequestParam(value = "regionId") String regionId, @RequestParam(value = "zoneId") String zoneId, diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/VolumeController.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/VolumeController.java index 5ddcc405..702ff317 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/VolumeController.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/controller/VolumeController.java @@ -427,7 +427,7 @@ public class VolumeController { } @Operation(tags = {"CMC", "CSC"}, summary = "查询物理机镜像") - @DeleteMapping("/v1/volumes/raids") + @GetMapping("/v1/volumes/raids") public GeneralResult listPhysical(@RequestParam(value = "vendorId") Long vendorId, @RequestParam(value = "regionId") String regionId, @RequestParam(value = "zoneId") String zoneId,