From 2782f3e576b56a9ca078055026394646d57440f8 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Sun, 27 Feb 2022 23:36:26 +0800 Subject: [PATCH] 接口文档显示配置调整 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java index 755ea89..c2169f5 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogarticle/controller/BlogArticleOutsideController.java @@ -124,15 +124,11 @@ BlogArticle article = new BlogArticle(); BeanUtil.copyProperties(addDto, article); article.setSeparateYear(DateUtil.year(article.getPublishDate())); - article.setSeparateMonth(DateUtil.month(article.getPublishDate())); + article.setSeparateMonth(DateUtil.month(article.getPublishDate())+1); article.setSeparateDay(DateUtil.dayOfMonth(article.getPublishDate())); article.setIsEnable(MyConstant.Yes); blogArticleService.save(article); - System.out.println(article.toString()); - - -// blogArticleService.add(blogArticleParam); return new SuccessResponseData(); } -- Gitblit v1.9.1