Browse Source

各种列表

lizhen_gitee 6 tháng trước cách đây
mục cha
commit
b8ac1921eb
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -27,7 +27,7 @@ class Index extends Api
 //            ->whereRaw("((start_time = 0 and end_time = 0) or (start_time < {$now} and end_time > {$now}))")
             ->whereRaw("((end_time = 0) or (end_time > {$now}))")
 //            ->where('find_in_set(:user_ids,user_ids)', ['user_ids' => $this->auth->id])
-            ->limit(2)
+            ->limit(3)
             ->order('start_time desc')
             ->select();
 
@@ -60,7 +60,7 @@ class Index extends Api
             ->where('deletetime', NULL)
             ->whereRaw("((endtime = 0) or (endtime > {$now}))")
             //->where("(userauth_status = 1) or (find_in_set('".$this->auth->id."',user_ids) )")
-            ->limit(2)
+            ->limit(3)
             ->order('starttime desc')
             ->select();