From 2505249ec0a1dc256d1d45308affaa8aeb1857eb Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Sun, 21 Apr 2024 19:59:46 +0800 Subject: [PATCH] 1 --- app/api/controller/Store.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Store.php b/app/api/controller/Store.php index 79ee1935..78a04d90 100644 --- a/app/api/controller/Store.php +++ b/app/api/controller/Store.php @@ -113,7 +113,7 @@ class Store extends Controller public function getStoreInfo(): Json { $storeid = request()->header()['storeid']; - $info = StoreInfoModel::detail($storeid); + $info = StoreInfoModel::detail(intval($storeid)); return $this->renderSuccess($info); }