mirror of https://gitee.com/karson/fastadmin.git
commit
58cbe6d19e
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue