From 0582ec51dbf3772a92303cede121518c2ceef834 Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Tue, 29 Aug 2017 16:54:51 +0800 Subject: [PATCH] no message --- services/meetingService.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/services/meetingService.js b/services/meetingService.js index b79de5d..d6b50c7 100644 --- a/services/meetingService.js +++ b/services/meetingService.js @@ -19,6 +19,7 @@ meetingService.prototype.createMeeting = async(meetingInfo) =>{ } meetingService.prototype.getMeeting = async(queryData,page = 1,pageno =12) =>{ try { + console.log(pageno,page,(page-1)*pageno) let backMeeting = await meetingModel.findAll({where:queryData,offset: (page-1)*pageno, limit: pageno}); let count = await meetingModel.count({where:queryData}) return {meetingInfo:backMeeting,count:count,page:page,pageno:pageno}; -- libgit2 0.24.0