Commit af2d19d9 by guojuxing

列表接口调整:默认数据放到第一条

parent 0bff8aff
...@@ -70,7 +70,8 @@ public class CustomPageController { ...@@ -70,7 +70,8 @@ public class CustomPageController {
ServiceResponse<AppletCustomPageDTO> defaultPage = appletCustomPageApiService.getDefault(params.getPageType()); ServiceResponse<AppletCustomPageDTO> defaultPage = appletCustomPageApiService.getDefault(params.getPageType());
if (CollectionUtils.isNotEmpty(list)) { if (CollectionUtils.isNotEmpty(list)) {
list.add(defaultPage.getResult());
list.add( 0, defaultPage.getResult());
} }
} }
} }
......
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