diff --git a/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/ws/WsFlinkKubernetesTemplateController.java b/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/ws/WsFlinkKubernetesTemplateController.java index 46bc5c68b..0ce97e8a4 100644 --- a/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/ws/WsFlinkKubernetesTemplateController.java +++ b/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/ws/WsFlinkKubernetesTemplateController.java @@ -76,7 +76,7 @@ public ResponseEntity>> getFlinkVersionOptio @Logging @GetMapping("/flinkImageMappings") @Operation(summary = "查询 Flink 镜像映射", description = "查询 Flink 镜像映射") - public ResponseEntity>> getFlinkVersionOptions(FlinkVersion flinkVersion) { + public ResponseEntity>> getFlinkVersionOptions(@RequestParam("flinkVersion") FlinkVersion flinkVersion) { List options = wsFlinkKubernetesTemplateService.getFlinkImageOptions(flinkVersion); return new ResponseEntity(ResponseVO.success(options), HttpStatus.OK); }