khanegi setting and prices records

This commit is contained in:
2026-06-13 17:35:40 +03:30
parent c70cda0b6b
commit 91a82c06e4
15 changed files with 509 additions and 73 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Console\Commands;
use App\Services\LivePriceTickService;
use Illuminate\Console\Command;
class PriceTickCommand extends Command
{
protected $signature = 'prices:tick';
protected $description = 'Fetch live prices, sync products, cache last/list, log snapshot (every 10s)';
public function handle(LivePriceTickService $tickService): int
{
$tickService->tick();
return self::SUCCESS;
}
}