This commit is contained in:
wangjinlei
2023-11-29 10:07:02 +08:00
parent 560d1708d0
commit adbdacdddc

View File

@@ -82,8 +82,8 @@ public class BookForumArticlesServiceController {
b.setCommentNum(commentcount);
}
if(bookForumArticlesEntityPage.getTotal()>20){
bookForumArticlesEntityPage.setTotal(20);
if(page>2){
bookForumArticlesEntityPage.setRecords(null);
}
return R.ok().put("page",bookForumArticlesEntityPage);
@@ -118,8 +118,8 @@ public class BookForumArticlesServiceController {
b.setCommentNum(commentcount);
}
if(bookForumArticlesEntityPage.getTotal()>20){
bookForumArticlesEntityPage.setTotal(20);
if(page>2){
bookForumArticlesEntityPage.setRecords(null);
}