增加获取查询字段数量

This commit is contained in:
liuxiaoquan 2023-03-01 03:39:04 +08:00
parent b7b2353591
commit 31d386de5e

View File

@ -17,7 +17,7 @@ class HouseDecoration extends BaseController
* @var array
*/
protected $middleware = [
Auth::class => ['except' => ['case','store'] ]
Auth::class => ['except' => ['Case','Store'] ]
];
protected function getData($cid){
@ -37,12 +37,12 @@ class HouseDecoration extends BaseController
return $list;
}
public function case(){
public function Case(){
$data = $this->getData(499);
$this->apiSuccess('ok', ['list' => $data]);
}
public function store(){
public function Store(){
$data = $this->getData(501);
$this->apiSuccess('ok', ['list' => $data]);
}