From ed94a2bca6edc82d5076667b1fc8316c4fc46e9f Mon Sep 17 00:00:00 2001 From: yuemian <--list> Date: Tue, 3 Sep 2024 16:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bocloud/ctstack/plugin/controller/FlavorController.java | 2 +- .../com/bocloud/ctstack/plugin/controller/ImageController.java | 2 +- .../com/bocloud/ctstack/plugin/controller/VolumeController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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,