This commit is contained in:
wangjinlei
2023-11-29 14:55:34 +08:00
parent adbdacdddc
commit 3599fa4357

View File

@@ -82,6 +82,10 @@ public class BookForumArticlesServiceController {
b.setCommentNum(commentcount);
}
if(bookForumArticlesEntityPage.getTotal()>20){
bookForumArticlesEntityPage.setTotal(20);
}
if(page>2){
bookForumArticlesEntityPage.setRecords(null);
}
@@ -117,6 +121,9 @@ public class BookForumArticlesServiceController {
b.setComment(commentsLimit);
b.setCommentNum(commentcount);
}
if(bookForumArticlesEntityPage.getTotal()>20){
bookForumArticlesEntityPage.setTotal(20);
}
if(page>2){
bookForumArticlesEntityPage.setRecords(null);