Commit 7e67277d by 阳浪

查看我的投稿接口

parent 43309bbe
......@@ -94,6 +94,12 @@ public class PublicationServiceImpl extends ServiceImpl<PublicationMapper, Publi
if(vo.getSiteId()==null) {
vo.setSiteId(ContextHolder.get().getSiteId());
}
if(vo.getPageNo()==null){
vo.setPageNo(1);
}
if(vo.getPageSize()==null){
vo.setPageSize(10);
}
Page<Publication> page = new Page<Publication>(vo.getPageNo(), vo.getPageSize());
List<Publication> list = null;
if(vo.getTypeId()!=null) {
......
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