From e343e508ce5f2d355ad82c05a319981c66d1324b Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 01:36:27 +0800 Subject: [PATCH] 评论页追加完成 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleController.java | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleController.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleController.java index 773878f..d207ead 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleController.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleController.java @@ -40,10 +40,10 @@ import java.util.List; /** - * blog文章主体控制器 + * blog文章控制器 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @RestController public class BlogArticleController { @@ -52,82 +52,82 @@ private BlogArticleService blogArticleService; /** - * 查询blog文章主体 + * 查询blog文章 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @GetMapping("/blogArticle/page") - @BusinessLog(title = "blog文章主体_查询", opType = LogAnnotionOpTypeEnum.QUERY) + @BusinessLog(title = "blog文章_查询", opType = LogAnnotionOpTypeEnum.QUERY) public ResponseData page(BlogArticleParam blogArticleParam) { return new SuccessResponseData(blogArticleService.page(blogArticleParam)); } /** - * 添加blog文章主体 + * 添加blog文章 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @PostMapping("/blogArticle/add") - @BusinessLog(title = "blog文章主体_增加", opType = LogAnnotionOpTypeEnum.ADD) + @BusinessLog(title = "blog文章_增加", opType = LogAnnotionOpTypeEnum.ADD) public ResponseData add(@RequestBody @Validated(BlogArticleParam.add.class) BlogArticleParam blogArticleParam) { blogArticleService.add(blogArticleParam); return new SuccessResponseData(); } /** - * 删除blog文章主体,可批量删除 + * 删除blog文章,可批量删除 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @PostMapping("/blogArticle/delete") - @BusinessLog(title = "blog文章主体_删除", opType = LogAnnotionOpTypeEnum.DELETE) + @BusinessLog(title = "blog文章_删除", opType = LogAnnotionOpTypeEnum.DELETE) public ResponseData delete(@RequestBody @Validated(BlogArticleParam.delete.class) List<BlogArticleParam> blogArticleParamList) { blogArticleService.delete(blogArticleParamList); return new SuccessResponseData(); } /** - * 编辑blog文章主体 + * 编辑blog文章 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @PostMapping("/blogArticle/edit") - @BusinessLog(title = "blog文章主体_编辑", opType = LogAnnotionOpTypeEnum.EDIT) + @BusinessLog(title = "blog文章_编辑", opType = LogAnnotionOpTypeEnum.EDIT) public ResponseData edit(@RequestBody @Validated(BlogArticleParam.edit.class) BlogArticleParam blogArticleParam) { blogArticleService.edit(blogArticleParam); return new SuccessResponseData(); } /** - * 查看blog文章主体 + * 查看blog文章 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @GetMapping("/blogArticle/detail") - @BusinessLog(title = "blog文章主体_查看", opType = LogAnnotionOpTypeEnum.DETAIL) + @BusinessLog(title = "blog文章_查看", opType = LogAnnotionOpTypeEnum.DETAIL) public ResponseData detail(@Validated(BlogArticleParam.detail.class) BlogArticleParam blogArticleParam) { return new SuccessResponseData(blogArticleService.detail(blogArticleParam)); } /** - * blog文章主体列表 + * blog文章列表 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @GetMapping("/blogArticle/list") - @BusinessLog(title = "blog文章主体_列表", opType = LogAnnotionOpTypeEnum.QUERY) + @BusinessLog(title = "blog文章_列表", opType = LogAnnotionOpTypeEnum.QUERY) public ResponseData list(BlogArticleParam blogArticleParam) { return new SuccessResponseData(blogArticleService.list(blogArticleParam)); } @@ -136,11 +136,11 @@ * 导出系统用户 * * @author inleft - * @date 2022-01-22 16:53:06 + * @date 2022-02-09 18:20:22 */ @Permission @GetMapping("/blogArticle/export") - @BusinessLog(title = "blog文章主体_导出", opType = LogAnnotionOpTypeEnum.EXPORT) + @BusinessLog(title = "blog文章_导出", opType = LogAnnotionOpTypeEnum.EXPORT) public void export(BlogArticleParam blogArticleParam) { blogArticleService.export(blogArticleParam); } -- Gitblit v1.9.1