diff --git a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java index 4388d12f..52004a04 100644 --- a/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java +++ b/bocloud.ctstack.plugin/src/main/java/com/bocloud/ctstack/plugin/provider/compute/TianyiPhysicalProvider.java @@ -92,7 +92,7 @@ public class TianyiPhysicalProvider extends TianyiProvider { if (model.getCycleCount() != null) { jsonObject.put("cycleCount", model.getCycleCount()); } - jsonObject.put("cycleType", model.getName()); + jsonObject.put("cycleType", model.getCycleType()); jsonObject.put("orderCount", model.getOrderCount()); Result result = doPost(apiUrl, jsonObject); log.info("物理机创建结果:" + JSON.toJSONString(result));