Explorar o código

命令行-修复拉取微唯宝商品逻辑

sunxbiao hai 6 meses
pai
achega
2cf3f0094f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/command/WiwibaoProductSync.php

+ 1 - 1
app/command/WiwibaoProductSync.php

@@ -399,7 +399,7 @@ class WiwibaoProductSync extends Command
399 399
                 // 获取SKU价格
400 400
                 $skus = Db::name('store_product_attr_value')
401 401
                     ->where('product_id', $product['product_id'])
402
-                    ->field('sku, price, cost')
402
+                    ->field('gong_sku_id, sku, price, cost')
403 403
                     ->select()
404 404
                     ->toArray();
405 405
                 $localPrices = [