From 88ca667083aa368735940ed917b687e50b9f1f2c Mon Sep 17 00:00:00 2001
From: 付智勇 <fuzhiyong@efangtec.com>
Date: Wed, 6 Sep 2017 20:25:03 +0800
Subject: [PATCH] 分页参数

---
 controller/meetingController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controller/meetingController.js b/controller/meetingController.js
index a02e23c..3e251cc 100644
--- a/controller/meetingController.js
+++ b/controller/meetingController.js
@@ -99,7 +99,7 @@ meetingController.prototype.getMeeting = async(ctx,next) =>{
             return status.paramError('siteId');            
         }
         let page = ctx.header.page ? Number(ctx.header.page):ctx.header.page;
-        let pageno = ctx.header.pageno;
+        let pageno = ctx.header.pageno ? Number(ctx.header.pageno):ctx.header.pageno;
         if(ctx.header.type == 8){
             pageno = 8;
         }
--
libgit2 0.24.0