|
|
@@ -355,11 +355,11 @@ class WiwibaoProductSync extends Command
|
|
355
|
355
|
Db::name('store_product')
|
|
356
|
356
|
->where('spu_id', $spuId)
|
|
357
|
357
|
->update([
|
|
358
|
|
- 'is_show' => 1,
|
|
359
|
|
- 'status' => 0
|
|
|
358
|
+ 'is_show' => 0,
|
|
|
359
|
+ 'status' => 1
|
|
360
|
360
|
]);
|
|
361
|
361
|
|
|
362
|
|
- Log::info("恢复商品上架状态: spu_id={$spuId}");
|
|
|
362
|
+ Log::info("恢复商品上架(恢复到仓库中)状态: spu_id={$spuId}");
|
|
363
|
363
|
}
|
|
364
|
364
|
|
|
365
|
365
|
/**
|
|
|
@@ -516,7 +516,7 @@ class WiwibaoProductSync extends Command
|
|
516
|
516
|
->where('product_id', $productId)
|
|
517
|
517
|
->update([
|
|
518
|
518
|
'is_show' => 0,
|
|
519
|
|
- 'status' => 2,
|
|
|
519
|
+ 'status' => -2,
|
|
520
|
520
|
'is_status' => 0
|
|
521
|
521
|
]);
|
|
522
|
522
|
|
|
|
@@ -650,7 +650,7 @@ class WiwibaoProductSync extends Command
|
|
650
|
650
|
->where('product_id', $product['product_id'])
|
|
651
|
651
|
->update([
|
|
652
|
652
|
'is_show' => 0,
|
|
653
|
|
- 'status' => 2,
|
|
|
653
|
+ 'status' => -2,
|
|
654
|
654
|
'is_status' => 0
|
|
655
|
655
|
]);
|
|
656
|
656
|
|