소스 검색

fix: 删除流水线

370774330@qq.com 5 년 전
부모
커밋
dfa8b980ec
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/src/main/java/cn/seecoder/web/controller/pipeline/PipelineController.java

+ 1 - 1
web/src/main/java/cn/seecoder/web/controller/pipeline/PipelineController.java

@@ -105,7 +105,7 @@ public class PipelineController {
             @ApiImplicitParam(name = "pipelineId", dataType ="int",paramType = "query"),
     })
     @DeleteMapping
-    public Response<Object> deletePipelineInfo(Integer projectId,Integer pipelineId) throws AccessDeniedException {
+    public Response<Object> deletePipelineInfo(@RequestParam("projectId")Integer projectId,@RequestParam("pipelineId")Integer pipelineId) throws AccessDeniedException {
         pipelineService.deletePipelineConfig(projectId, pipelineId);
         return Response.buildSuccess();
     }