调整获取文章数据接口

This commit is contained in:
TinyAnts 2022-09-14 10:43:02 +08:00
parent 1596c077c4
commit fb54c489fe
1 changed files with 1 additions and 1 deletions

View File

@ -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<>();