diff --git a/app/api/controller/HouseDecoration.php b/app/api/controller/HouseDecoration.php index 63ae3e4..68848f6 100644 --- a/app/api/controller/HouseDecoration.php +++ b/app/api/controller/HouseDecoration.php @@ -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]); }