From 5e792f6e532aedea1e4961d444292c7fb8b02d75 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Sun, 21 Apr 2024 20:01:12 +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 78a04d90..d9d7edcb 100644 --- a/app/api/controller/Store.php +++ b/app/api/controller/Store.php @@ -114,7 +114,7 @@ class Store extends Controller { $storeid = request()->header()['storeid']; $info = StoreInfoModel::detail(intval($storeid)); - return $this->renderSuccess($info); + return $this->renderSuccess(compact('info')); } /**