Commit 46fd81d5 authored by 黎博's avatar 黎博

新增/docker/project/gitPath

parent 79e4d781
...@@ -205,4 +205,12 @@ public class DockerProjectController { ...@@ -205,4 +205,12 @@ public class DockerProjectController {
return JsonResult.buildSuccessResult(dockerProjectList); return JsonResult.buildSuccessResult(dockerProjectList);
} }
@GetMapping("/gitPath")
public String getGitPathByProjectName(@RequestParam String project) {
QueryWrapper<DockerProject> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("project_name", project);
return dockerProjectService.getOne(queryWrapper).getGitPath();
}
} }
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