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']); }