mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-08 23:38:57 +08:00
调整获取文章列表接口
This commit is contained in:
@@ -48,7 +48,6 @@ public class DecorateDataServiceImpl implements IDecorateDataService {
|
||||
map.put("image", UrlUtil.toAbsoluteUrl(article.getImage()));
|
||||
map.put("author", article.getAuthor());
|
||||
map.put("visit", article.getVisit());
|
||||
map.put("content", article.getContent());
|
||||
map.put("createTime", TimeUtil.timestampToDate(article.getCreateTime()));
|
||||
articleList.add(map);
|
||||
}
|
||||
|
||||
@@ -72,7 +72,6 @@ public class IndexServiceImpl implements IIndexService {
|
||||
map.put("image", UrlUtil.toAbsoluteUrl(article.getImage()));
|
||||
map.put("author", article.getAuthor());
|
||||
map.put("visit", article.getVisit());
|
||||
map.put("content", article.getContent());
|
||||
map.put("createTime", TimeUtil.timestampToDate(article.getCreateTime()));
|
||||
articleList.add(map);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user