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