diff --git a/app/api/controller/Store.php b/app/api/controller/Store.php index 79ee1935..d9d7edcb 100644 --- a/app/api/controller/Store.php +++ b/app/api/controller/Store.php @@ -113,8 +113,8 @@ class Store extends Controller public function getStoreInfo(): Json { $storeid = request()->header()['storeid']; - $info = StoreInfoModel::detail($storeid); - return $this->renderSuccess($info); + $info = StoreInfoModel::detail(intval($storeid)); + return $this->renderSuccess(compact('info')); } /**