feat: 批量更新限流修改
This commit is contained in:
parent
025a8538eb
commit
2d47be7291
@ -45,6 +45,7 @@ class BatchStockUpdateListener implements ShouldQueue
|
||||
->where('external_sku_id', $goodsSku->external_sku_id)
|
||||
->get();
|
||||
BusinessFactory::init()->make($shop['plat_id'])->setShopWithId($shop['id'])->batchIncrQuantity($businessGoodsSkus->toArray(), $num, false);
|
||||
usleep(140);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user