From fc4ddd643eab2d54363345a4143bf3b17d91c420 Mon Sep 17 00:00:00 2001 From: liuqing Date: Wed, 13 Mar 2024 11:49:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/Store.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/Store.php b/app/common/model/Store.php index 47703a1d..fecdb945 100644 --- a/app/common/model/Store.php +++ b/app/common/model/Store.php @@ -45,7 +45,7 @@ class Store extends BaseModel public static function detail(int $storeId) { try { - return self::withoutGlobalScope() + $list = self::withoutGlobalScope() ->with(['logoImage']) ->where('store_id', '=', $storeId) ->find();