直播分页返回当前页码

This commit is contained in:
xuwenbo
2020-09-09 19:35:08 +08:00
parent a9e43af992
commit 5b575d268e
3 changed files with 20 additions and 12 deletions

View File

@ -125,6 +125,7 @@ public class YxWechatLiveServiceImpl extends BaseServiceImpl<YxWechatLiveMapper,
});
wechatLiveVo.setContent(liveDtos);
wechatLiveVo.setTotalElements(page.getTotal());
wechatLiveVo.setPageNumber(page.getPageNum());
return wechatLiveVo;
}
@Override

View File

@ -11,4 +11,8 @@ public class WechatLiveVo {
private List<YxWechatLiveDto> content;
private Long totalElements;
private Integer pageNumber;
}