From b913c4ba100194ecedc5dbfba56cdb3be4fd183e Mon Sep 17 00:00:00 2001 From: binaryify Date: Mon, 5 Oct 2020 22:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=86=97=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/comment_new.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/comment_new.js b/module/comment_new.js index 24416cf..e8b68db 100644 --- a/module/comment_new.js +++ b/module/comment_new.js @@ -19,7 +19,7 @@ module.exports = (query, request) => { pageNo: pageNo, showInner: query.showInner || true, pageSize: pageSize, - cursor: (pageNo - 1) * (pageSize || 20), + cursor: (pageNo - 1) * pageSize, sortType: query.sortType || 1, //1:按推荐排序,2:按热度排序,3:按时间排序 } return request(