mirror of https://gitee.com/karson/fastadmin.git
'stream_addr'
parent
9557929665
commit
5ab960492c
|
|
@ -35,8 +35,7 @@ class Live extends Api
|
|||
// if ($this->request->isAjax())
|
||||
// {
|
||||
//如果发送的来源是Selectpage,则转发到Selectpage
|
||||
if ($this->request->request('pkey_name'))
|
||||
{
|
||||
if ($this->request->request('pkey_name')) {
|
||||
return $this->selectpage();
|
||||
}
|
||||
|
||||
|
|
@ -45,11 +44,12 @@ class Live extends Api
|
|||
|
||||
|
||||
if ($this->request->param("status")) {
|
||||
$where['status'] = $this->request->param("status");
|
||||
$where = array(
|
||||
'status' => $this->request->param("status"),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
$total = $this->model
|
||||
->where($where)
|
||||
->order($sort, $order)
|
||||
|
|
@ -73,7 +73,7 @@ class Live extends Api
|
|||
|
||||
/**
|
||||
* 无需登录的接口
|
||||
*
|
||||
*
|
||||
*/
|
||||
public function test1()
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ class Live extends Api
|
|||
|
||||
/**
|
||||
* 需要登录的接口
|
||||
*
|
||||
*
|
||||
*/
|
||||
public function test2()
|
||||
{
|
||||
|
|
@ -92,7 +92,7 @@ class Live extends Api
|
|||
|
||||
/**
|
||||
* 需要登录且需要验证有相应组的权限
|
||||
*
|
||||
*
|
||||
*/
|
||||
public function test3()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue