|
|
@ -46,6 +46,7 @@ class Api_CageController extends Ctrl_Api{ |
|
|
|
$params['uid'] = empty($this->POST['uid'])?Tool_Fnc::apiMsg('请先登录', '500'):$this->POST['uid']; |
|
|
|
$params['uid'] = empty($this->POST['uid'])?Tool_Fnc::apiMsg('请先登录', '500'):$this->POST['uid']; |
|
|
|
$params['keyword'] = empty($this->POST['keyword'])?'':$this->POST['keyword']; |
|
|
|
$params['keyword'] = empty($this->POST['keyword'])?'':$this->POST['keyword']; |
|
|
|
$params['page'] = empty($this->POST['page'])?1:$this->POST['page']; |
|
|
|
$params['page'] = empty($this->POST['page'])?1:$this->POST['page']; |
|
|
|
|
|
|
|
$params['desc'] = empty($this->POST['desc'])||!isset($this->POST['desc'])?'desc':Tool_Fnc::safe_string($this->POST['desc']); |
|
|
|
$data = $this->Cagemodel->getModelList($params); |
|
|
|
$data = $this->Cagemodel->getModelList($params); |
|
|
|
Tool_Fnc::apiMsg('笼位获取成功', '200',$data); |
|
|
|
Tool_Fnc::apiMsg('笼位获取成功', '200',$data); |
|
|
|
} |
|
|
|
} |
|
|
|