!22 活跃直播流

Merge pull request !22 from Chao Xing/xingchao
pull/58/head
Chao Xing 2018-05-06 10:51:26 +08:00
commit 58cbe6d19e
1 changed files with 6 additions and 6 deletions

View File

@ -40,15 +40,15 @@ class Live extends Api
return $this->selectpage();
}
list($where, $sort, $order, $offset, $limit) = $this->buildparams();
// $where = array_merge($where,array(
// 'status'=>1,
// ));
// $where = array(
// 'status'=>1,
// );
if ($this->request->param("status")) {
$where['status'] = $this->request->param("status");
}
$total = $this->model
->where($where)