From 867f53240519eb100513afecd093a4d1f0b05e65 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Fri, 24 Apr 2020 13:10:16 +0800 Subject: [PATCH] =?UTF-8?q?APP=E5=88=97=E8=A1=A8=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/apis/articlecontent/ArticleContentAppController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java b/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java index cd48412..c0e01d0 100644 --- a/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java +++ b/cloud-common-article/src/main/java/com/cm/common/article/controller/app/apis/articlecontent/ArticleContentAppController.java @@ -89,6 +89,7 @@ public class ArticleContentAppController extends AbstractController { @GetMapping("listarticlecontent") public List listArticleContent(@RequestHeader("token") String token) throws SearchException { Map params = requestParams(); + params.put("isPublish", 1); return articleContentService.listArticleContent(params); } @@ -106,6 +107,7 @@ public class ArticleContentAppController extends AbstractController { @GetMapping("listpagearticlecontent") public SuccessResultList> listPageArticleContent(@RequestHeader("token") String token, ListPage page) throws SearchException { Map params = requestParams(); + params.put("isPublish", 1); page.setParams(params); return articleContentService.listPageArticleContent(page); } @@ -119,6 +121,7 @@ public class ArticleContentAppController extends AbstractController { @GetMapping("countarticlecount") public SuccessResultData countArticleCount() { Map params = requestParams(); + params.put("isPublish", 1); return articleContentService.countArticleCount(params); }