Commit 1eaee48b authored by 黎博's avatar 黎博

修改新增docker项目接口

parent 13960342
......@@ -46,7 +46,7 @@ public class DockerProjectController {
*/
@PostMapping("/add")
public JsonResult addDockerProject(@RequestBody DockerProject dockerProject) {
return JsonResult.buildSuccessResult(dockerProjectService.save(dockerProject));
return JsonResult.buildSuccessResult(dockerProjectService.saveOrUpdate(dockerProject));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment