wang hou sheng 7 months ago
parent e40a17f3a4
commit e59a17ebc2
  1. 4
      app/common/model/GoodsSpecRel.php

@ -114,8 +114,8 @@ class GoodsSpecRel extends BaseModel
// echo "<pre>";
// 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']);
}

Loading…
Cancel
Save