传参形式修改

This commit is contained in:
even 2025-05-23 14:39:08 +08:00
parent a945af0d35
commit 01fc6f5637
3 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,6 @@ public class ParallelDispatcher implements BaseDispatcher{
latch.await();
// TODO 检查是否全部执行成功 目前没有逻辑就是忽略错误
}
// TODO 入库
}
@Override
public void run() {

View File

@ -100,8 +100,8 @@ public class PipelineController {
return CommonResult.success();
}
@PostMapping("/executePipeline")
public CommonResult<PipelineRunContext> executePipeline(String pipelineId){
@PostMapping("/executePipeline/{pipelineId}")
public CommonResult<PipelineRunContext> executePipeline(@PathVariable String pipelineId){
PipelineRunContext execute = pipelineExecutor.execute(pipelineId);
return CommonResult.success(execute);
}

File diff suppressed because one or more lines are too long