From 5ab960492c64ae811e0d1b058f8a034ecfaa8c0b Mon Sep 17 00:00:00 2001 From: xingchao <1363688001@qq.com> Date: Sun, 6 May 2018 10:58:19 +0800 Subject: [PATCH] 'stream_addr' --- application/api/controller/Live.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/application/api/controller/Live.php b/application/api/controller/Live.php index a119c59c..9c89584a 100644 --- a/application/api/controller/Live.php +++ b/application/api/controller/Live.php @@ -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() {