wesmiler пре 2 година
родитељ
комит
25ae83faef
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/Api/GoodsService.php

+ 1 - 1
app/Services/Api/GoodsService.php

@@ -335,7 +335,7 @@ class GoodsService extends BaseService
             $this->model->insertAll($goods);
 
             if($skus){
-                GoodsSkuModel::insertAll($skus);
+                GoodsSkuModel::insert($skus);
             }
         }