From e59a17ebc23abe618f7a41b8064d81165deed083 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Sun, 21 Apr 2024 12:31:24 +0800 Subject: [PATCH] 1 --- app/common/model/GoodsSpecRel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/model/GoodsSpecRel.php b/app/common/model/GoodsSpecRel.php index 925baa01..21919d2c 100644 --- a/app/common/model/GoodsSpecRel.php +++ b/app/common/model/GoodsSpecRel.php @@ -114,8 +114,8 @@ class GoodsSpecRel extends BaseModel // echo "
";
         // print_r($list->toArray());
         //exit();
-//        self::$storeId = 0;
-//        app()->request->setStoreId(0);
+        self::$storeId = 0;
+        app()->request->setStoreId(0);
         return static::preload($list, ['spec', 'specValue']);
     }