From 676bb5627e73caf9660f03a8541066417c12ed5d Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 31 Jan 2024 16:24:24 +0800 Subject: [PATCH] update --- app/api/controller/FenceHouseController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }