mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
feat: 修改
This commit is contained in:
parent
e9ad57ad46
commit
025a8538eb
@ -10,8 +10,10 @@ use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use App\Events\BatchStockUpdateEvent;
|
||||
|
||||
class CombinationGoodsStockUpdateListener
|
||||
class CombinationGoodsStockUpdateListener implements ShouldQueue
|
||||
{
|
||||
use InteractsWithQueue;
|
||||
|
||||
/**
|
||||
* Create the event listener.
|
||||
*
|
||||
|
||||
@ -68,7 +68,7 @@ class UpdateBusinessGoodsStock implements ShouldQueue
|
||||
->get();
|
||||
foreach ($businessGoodsSkus as $businessGoodsSku) {
|
||||
BusinessGoodsSkuIncrQuantity::dispatch($shop, $businessGoodsSku->toArray(), $num, false);
|
||||
usleep(100);
|
||||
usleep(140);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user