直播分页返回当前页码
This commit is contained in:
@ -125,6 +125,7 @@ public class YxWechatLiveServiceImpl extends BaseServiceImpl<YxWechatLiveMapper,
|
||||
});
|
||||
wechatLiveVo.setContent(liveDtos);
|
||||
wechatLiveVo.setTotalElements(page.getTotal());
|
||||
wechatLiveVo.setPageNumber(page.getPageNum());
|
||||
return wechatLiveVo;
|
||||
}
|
||||
@Override
|
||||
|
@ -11,4 +11,8 @@ public class WechatLiveVo {
|
||||
private List<YxWechatLiveDto> content;
|
||||
|
||||
private Long totalElements;
|
||||
|
||||
private Integer pageNumber;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user