0513 ljc
This commit is contained in:
parent
1ddbfb72c8
commit
e3a4bb629d
@ -6,6 +6,7 @@ import cd.casic.ci.common.pipeline.resp.pipeline.PipelineResp;
|
||||
import cd.casic.framework.commons.dataobject.User;
|
||||
import cd.casic.framework.commons.pojo.CommonResult;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import jakarta.annotation.security.PermitAll;
|
||||
import jakarta.validation.Valid;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@ -27,6 +28,7 @@ import java.util.List;
|
||||
@RequestMapping("/pipeline")
|
||||
public class PipelineController {
|
||||
|
||||
@PermitAll
|
||||
@PostMapping(path="/createPipeline")
|
||||
public CommonResult<String> createPipeline(@RequestBody @NotNull @Valid PipelineReq pipelineReq){
|
||||
|
||||
@ -37,12 +39,17 @@ public class PipelineController {
|
||||
}
|
||||
|
||||
|
||||
@PermitAll
|
||||
@PostMapping(path="/findAllPipeline")
|
||||
public CommonResult<List<PipelineResp>> findAllPipeline(){
|
||||
|
||||
// List<PipelineResp> selectAllPipeline = pipelineService.findAllPipeline();
|
||||
|
||||
List<PipelineResp> selectAllPipeline = new ArrayList<>(0);
|
||||
PipelineResp pipeline = new PipelineResp();
|
||||
pipeline.setId("1");
|
||||
pipeline.setName("test数据交互测试");
|
||||
selectAllPipeline.add(pipeline);
|
||||
return CommonResult.success(selectAllPipeline);
|
||||
}
|
||||
|
||||
|
@ -147,6 +147,7 @@ ops:
|
||||
- /admin-api/system/tenant/get-by-website # 基于域名获取租户,不许带租户编号
|
||||
- /admin-api/system/auth/register # 注册
|
||||
- /admin-api/system/auth/**
|
||||
- /admin-api/system/dict-data/**
|
||||
ignore-tables:
|
||||
- system_tenant
|
||||
- system_tenant_package
|
||||
|
Loading…
x
Reference in New Issue
Block a user