bug修复

This commit is contained in:
杨建炊 2024-11-13 17:04:39 +08:00
parent 4b2e57a8a0
commit bf1d627e9d

View File

@ -49,7 +49,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(50);
usleep(100);
}
}
} catch (\Exception $exception) {