bug
This commit is contained in:
@@ -82,8 +82,8 @@ public class BookForumArticlesServiceController {
|
|||||||
b.setCommentNum(commentcount);
|
b.setCommentNum(commentcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(bookForumArticlesEntityPage.getTotal()>20){
|
if(page>2){
|
||||||
bookForumArticlesEntityPage.setTotal(20);
|
bookForumArticlesEntityPage.setRecords(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
return R.ok().put("page",bookForumArticlesEntityPage);
|
return R.ok().put("page",bookForumArticlesEntityPage);
|
||||||
@@ -118,8 +118,8 @@ public class BookForumArticlesServiceController {
|
|||||||
b.setCommentNum(commentcount);
|
b.setCommentNum(commentcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(bookForumArticlesEntityPage.getTotal()>20){
|
if(page>2){
|
||||||
bookForumArticlesEntityPage.setTotal(20);
|
bookForumArticlesEntityPage.setRecords(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user