APP列表固定发布状态
This commit is contained in:
parent
f52e56df56
commit
867f532405
@ -89,6 +89,7 @@ public class ArticleContentAppController extends AbstractController {
|
||||
@GetMapping("listarticlecontent")
|
||||
public List<ArticleContentDTO> listArticleContent(@RequestHeader("token") String token) throws SearchException {
|
||||
Map<String, Object> params = requestParams();
|
||||
params.put("isPublish", 1);
|
||||
return articleContentService.listArticleContent(params);
|
||||
}
|
||||
|
||||
@ -106,6 +107,7 @@ public class ArticleContentAppController extends AbstractController {
|
||||
@GetMapping("listpagearticlecontent")
|
||||
public SuccessResultList<List<ArticleContentDTO>> listPageArticleContent(@RequestHeader("token") String token, ListPage page) throws SearchException {
|
||||
Map<String, Object> 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<Integer> countArticleCount() {
|
||||
Map<String, Object> params = requestParams();
|
||||
params.put("isPublish", 1);
|
||||
return articleContentService.countArticleCount(params);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user