Commit b4e5d8e5 authored by hanfeng's avatar hanfeng

修改新闻系列接口

parent b8e17fae
...@@ -25,7 +25,7 @@ public class ArticleController extends BaseController<ArticleBiz, Article> { ...@@ -25,7 +25,7 @@ public class ArticleController extends BaseController<ArticleBiz, Article> {
public ObjectRestResponse getArticleList( public ObjectRestResponse getArticleList(
@RequestParam(name = "page", defaultValue = "1") Integer page, @RequestParam(name = "page", defaultValue = "1") Integer page,
@RequestParam(name = "limit", defaultValue = "10") Integer limit, @RequestParam(name = "limit", defaultValue = "10") Integer limit,
@RequestParam(name = "type", defaultValue = "0") Integer type) { @RequestParam(name = "type", defaultValue = "1") Integer type) {
return ObjectRestResponse.succ(baseBiz.getArticleList(page, limit, type)); return ObjectRestResponse.succ(baseBiz.getArticleList(page, limit, type));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment