diff --git a/app/api/controller/FenceHouseController.php b/app/api/controller/FenceHouseController.php index fd5d39e..2879d81 100644 --- a/app/api/controller/FenceHouseController.php +++ b/app/api/controller/FenceHouseController.php @@ -54,7 +54,7 @@ class FenceHouseController extends BaseApiController */ public function datas(): Json { - $params = ['user_id', $this->userId]; + $params['user_id'] = $this->userId; $datas = (new FenceHouseLogic())->datas($params); return $this->data($datas); }