bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user