This commit is contained in:
even 2025-04-28 15:20:53 +08:00
commit 9413b4f199

View File

@ -25,11 +25,9 @@ public class PostprocessController {
/** /**
* @Author hopeli * 创建流水线后置配置
* @Description * @param postprocess
* @Date 10:47 2025/4/28 * @return
* @Param postprocess
* @return String
*/ */
@RequestMapping(path="/createPost",method = RequestMethod.POST) @RequestMapping(path="/createPost",method = RequestMethod.POST)
public Result<String> createPost(@RequestBody @NotNull @Valid Postprocess postprocess){ public Result<String> createPost(@RequestBody @NotNull @Valid Postprocess postprocess){
@ -38,11 +36,9 @@ public class PostprocessController {
} }
/** /**
* @Author hopeli * 更新流水线后置配置
* @Description * @param postprocess
* @Date 11:17 2025/4/28 * @return
* @Param postprocess
* @return void
*/ */
@RequestMapping(path="/updatePost",method = RequestMethod.POST) @RequestMapping(path="/updatePost",method = RequestMethod.POST)
public Result<Void> updatePost(@RequestBody @NotNull @Valid Postprocess postprocess){ public Result<Void> updatePost(@RequestBody @NotNull @Valid Postprocess postprocess){
@ -52,10 +48,8 @@ public class PostprocessController {
/** /**
* @Author hopeli * 查询流水线后置配置信息
* @Description * @param pipelineId
* @Date 11:17 2025/4/28
* @Param
* @return * @return
*/ */
@RequestMapping(path="/findPipelinePost",method = RequestMethod.POST) @RequestMapping(path="/findPipelinePost",method = RequestMethod.POST)
@ -66,10 +60,8 @@ public class PostprocessController {
/** /**
* @Author hopeli * 查询流水线任务后置配置信息
* @Description * @param taskId
* @Date 11:22 2025/4/28
* @Param
* @return * @return
*/ */
@RequestMapping(path="/findTaskPost",method = RequestMethod.POST) @RequestMapping(path="/findTaskPost",method = RequestMethod.POST)
@ -80,10 +72,8 @@ public class PostprocessController {
/** /**
* @Author hopeli * 删除流水线任务后置配置信息
* @Description * @param postId
* @Date 11:22 2025/4/28
* @Param
* @return * @return
*/ */
@RequestMapping(path="/deletePost",method = RequestMethod.POST) @RequestMapping(path="/deletePost",method = RequestMethod.POST)
@ -94,10 +84,8 @@ public class PostprocessController {
/** /**
* @Author hopeli * 查询后置配置信息
* @Description * @param postId
* @Date 11:22 2025/4/28
* @Param
* @return * @return
*/ */
@RequestMapping(path="/findOnePost",method = RequestMethod.POST) @RequestMapping(path="/findOnePost",method = RequestMethod.POST)