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