Commit e7e317a6 authored by zhuwei's avatar zhuwei

全部客户 小改

parent 1e1c9461
...@@ -233,7 +233,7 @@ class Client extends Basic ...@@ -233,7 +233,7 @@ class Client extends Basic
// $params['search_type'] = '2' ; // $params['search_type'] = '2' ;
#测试数据 end #测试数据 end
if (!isset($params['phone_or_name']) || !isset($params['user_id'])) { if (!isset($params['user_id'])) {
return $this->response("300", "参数不全", [ 'remote_groupid' => '' ]); return $this->response("300", "参数不全", [ 'remote_groupid' => '' ]);
} }
...@@ -312,12 +312,8 @@ class Client extends Basic ...@@ -312,12 +312,8 @@ class Client extends Basic
exit;*/ exit;*/
$total = intval($total / $pagesize) + (($total % $pagesize == 0) ? 0 : 1); $total = intval($total / $pagesize) + (($total % $pagesize == 0) ? 0 : 1);
if ($user_res) return $this->response("200", "success!", ['user_date'=>$user_res,'pagenum'=>$pagenum,'total'=>$total,'search_type'=>$search_type]);
{
return $this->response("200", "success!", ['user_date'=>$user_res,'pagenum'=>$pagenum,'total'=>$total,'search_type'=>$search_type]);
} else {
return $this->response("101", "失败!");
}
} }
......
...@@ -86,7 +86,7 @@ class Basic extends Controller ...@@ -86,7 +86,7 @@ class Basic extends Controller
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1]; $requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
if (!in_array(trim($requestPath), $this->filterVerify)) { if (!in_array(trim($requestPath), $this->filterVerify)) {
//$this->tokenVerify(); $this->tokenVerify();
} }
/*临时验证 end*/ /*临时验证 end*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment