Commit 4fe0c2a3 by guojuxing

默认数据列表接口调整

parent 2d5dd0f1
...@@ -70,8 +70,11 @@ public class CustomPageController { ...@@ -70,8 +70,11 @@ 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)) {
if (defaultPage.isSuccess()) {
list.add( 0, defaultPage.getResult()); list.add(0, defaultPage.getResult());
} else {
return RestResponse.failure(defaultPage.getCode(), defaultPage.getMessage());
}
} }
} }
} }
......
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