From d5dc8ce33017dd3567d286be23ee22982c43d055 Mon Sep 17 00:00:00 2001 From: xingchao <1363688001@qq.com> Date: Sun, 6 May 2018 03:54:52 +0800 Subject: [PATCH] 'stream_addr' --- application/api/controller/Live.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/application/api/controller/Live.php b/application/api/controller/Live.php index 9edf808b..3b05ca4d 100644 --- a/application/api/controller/Live.php +++ b/application/api/controller/Live.php @@ -41,6 +41,15 @@ class Live extends Api } list($where, $sort, $order, $offset, $limit) = $this->buildparams(); + +// $where = array_merge($where,array( +// 'status'=>1, +// )); + +// $where = array( +// 'status'=>1, +// ); + $total = $this->model ->where($where) ->order($sort, $order) @@ -55,6 +64,7 @@ class Live extends Api $result = array("total" => $total, "rows" => $list); return json($result); +// return ($where); // }