|
|
@@ -456,11 +456,11 @@ class ProductService extends AlibabaAgentBaseService
|
|
456
|
456
|
|
|
457
|
457
|
// 8. 写入 store_product_content 表(商品详情)
|
|
458
|
458
|
$contentHtml = $description;
|
|
459
|
|
- // Db::name('store_product_content')->insert([
|
|
460
|
|
- // 'product_id' => $productId,
|
|
461
|
|
- // 'content' => $contentHtml,
|
|
462
|
|
- // 'type' => 0,
|
|
463
|
|
- // ]);
|
|
|
459
|
+ Db::name('store_product_content')->insert([
|
|
|
460
|
+ 'product_id' => $productId,
|
|
|
461
|
+ 'content' => $contentHtml,
|
|
|
462
|
+ 'type' => 0,
|
|
|
463
|
+ ]);
|
|
464
|
464
|
|
|
465
|
465
|
// 9. 写入 store_product_attr 和 store_product_attr_value
|
|
466
|
466
|
$this->insertStoreSkus($productId, $skuList, $merId);
|