增加获取查询字段数量
This commit is contained in:
parent
b7b2353591
commit
31d386de5e
@ -17,7 +17,7 @@ class HouseDecoration extends BaseController
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $middleware = [
|
protected $middleware = [
|
||||||
Auth::class => ['except' => ['case','store'] ]
|
Auth::class => ['except' => ['Case','Store'] ]
|
||||||
];
|
];
|
||||||
|
|
||||||
protected function getData($cid){
|
protected function getData($cid){
|
||||||
@ -37,12 +37,12 @@ class HouseDecoration extends BaseController
|
|||||||
return $list;
|
return $list;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function case(){
|
public function Case(){
|
||||||
$data = $this->getData(499);
|
$data = $this->getData(499);
|
||||||
$this->apiSuccess('ok', ['list' => $data]);
|
$this->apiSuccess('ok', ['list' => $data]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function store(){
|
public function Store(){
|
||||||
$data = $this->getData(501);
|
$data = $this->getData(501);
|
||||||
$this->apiSuccess('ok', ['list' => $data]);
|
$this->apiSuccess('ok', ['list' => $data]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user