diff --git a/blossom-backend/backend/src/main/java/com/blossom/backend/server/article/draft/ArticleController.java b/blossom-backend/backend/src/main/java/com/blossom/backend/server/article/draft/ArticleController.java index 5cd5c7b..4eeb1cd 100644 --- a/blossom-backend/backend/src/main/java/com/blossom/backend/server/article/draft/ArticleController.java +++ b/blossom-backend/backend/src/main/java/com/blossom/backend/server/article/draft/ArticleController.java @@ -185,7 +185,7 @@ public class ArticleController { } /** - * 为文章快速增加/删除标签 + * 快速增加/删除标签 * * @since 1.10.0 */ diff --git a/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/DocController.java b/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/DocController.java index 28f2565..2f1fdf2 100644 --- a/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/DocController.java +++ b/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/DocController.java @@ -61,7 +61,6 @@ public class DocController { /** * 修改排序 - *
todo 返回列表, 兼容列表查询条件 * * @param tree 需要修改排序的文档列表 * @return 文档列表 diff --git a/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/pojo/DocTreeUpdSortReq.java b/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/pojo/DocTreeUpdSortReq.java index 5596f60..463c221 100644 --- a/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/pojo/DocTreeUpdSortReq.java +++ b/blossom-backend/backend/src/main/java/com/blossom/backend/server/doc/pojo/DocTreeUpdSortReq.java @@ -3,6 +3,9 @@ package com.blossom.backend.server.doc.pojo; import com.blossom.backend.server.doc.DocTypeEnum; import lombok.Data; +import javax.validation.constraints.Max; +import javax.validation.constraints.Min; +import javax.validation.constraints.NotNull; import java.util.List; /** @@ -18,16 +21,25 @@ public class DocTreeUpdSortReq { */ private List