|
|
@@ -150,8 +150,9 @@ public class ImageController extends BaseController { |
|
|
|
|
|
|
|
|
@PostMapping("/saveImage") |
|
|
@PostMapping("/saveImage") |
|
|
@ApiOperation(value = "保存环境为镜像", notes = "docker commit方式保存,并推送到horbor") |
|
|
@ApiOperation(value = "保存环境为镜像", notes = "docker commit方式保存,并推送到horbor") |
|
|
public void saveImage(@RequestBody ImageVo imageVo) { |
|
|
|
|
|
|
|
|
public GenericsAjaxResult<String> saveImage(@RequestBody ImageVo imageVo) { |
|
|
this.imageService.saveImage(imageVo); |
|
|
this.imageService.saveImage(imageVo); |
|
|
|
|
|
return genericsSuccess("操作成功"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|