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};