Kaynağa Gözat

fix: 删除流水线

370774330@qq.com 5 yıl önce
ebeveyn
işleme
dfa8b980ec

+ 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();
     }