调整获取文章数据接口
This commit is contained in:
parent
1596c077c4
commit
fb54c489fe
|
|
@ -37,7 +37,7 @@ public class DecorateDataServiceImpl implements IDecorateDataService {
|
||||||
.eq("is_show", 1)
|
.eq("is_show", 1)
|
||||||
.eq("is_delete", 0)
|
.eq("is_delete", 0)
|
||||||
.orderByDesc("id")
|
.orderByDesc("id")
|
||||||
.last("limit 20"));
|
.last("limit " + limit));
|
||||||
|
|
||||||
for (Article article : articles) {
|
for (Article article : articles) {
|
||||||
Map<String, Object> map = new LinkedHashMap<>();
|
Map<String, Object> map = new LinkedHashMap<>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue