vali 6 năm trước cách đây
mục cha
commit
ec1b84c551
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      application/index/controller/Message.php

+ 2 - 2
application/index/controller/Message.php

@@ -15,8 +15,8 @@ class Message extends Controller
             $time = input("param.time/s");
             $key = input("param.key/s");
             $type = input("param.type/s");
-            $limit = intval(input("param.pageSize/s"), 10);
-            $pageNumber = intval(input("param.pageNumber/s"), 1);
+            $limit = intval(input("param.pageSize/s", 10));
+            $pageNumber = intval(input("param.pageNumber/s", 1));
             $offset = ($pageNumber - 1) * $limit;
             if ($time == 'week') {
                 //前一周