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();