From 31d386de5edb10e4754fb589d53a63c4721425ce Mon Sep 17 00:00:00 2001 From: liuxiaoquan Date: Wed, 1 Mar 2023 03:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=AD=97=E6=AE=B5=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/HouseDecoration.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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]); }