added merge wallet 4
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Services\ProductPriceSyncService;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class SyncProductPrices extends Command
|
||||
{
|
||||
protected $signature = 'product:sync-prices';
|
||||
|
||||
protected $description = 'Sync variable product prices from external feeds (every ~30s via scheduler)';
|
||||
|
||||
public function handle(ProductPriceSyncService $syncService): int
|
||||
{
|
||||
$syncService->syncAll();
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user