Commit a01a4679 by Евгений

поправил расписание

1 parent 77167224
...@@ -69,11 +69,8 @@ class Kernel extends ConsoleKernel ...@@ -69,11 +69,8 @@ class Kernel extends ConsoleKernel
$schedule->command(CampaignsCheckUpdatedChildren::class)->hourlyAt(10); $schedule->command(CampaignsCheckUpdatedChildren::class)->hourlyAt(10);
$schedule->command(RetargetinglistsLoad::class)->hourlyAt(5); $schedule->command(RetargetinglistsLoad::class)->hourlyAt(5);
$schedule->command(RetargetinglistsAdd::class)->hourlyAt(10);
$schedule->command(NegativeKeywordSharedSetsLoad::class)->hourlyAt(10); $schedule->command(NegativeKeywordSharedSetsLoad::class)->hourlyAt(10);
$schedule->command(NegativeKeywordSharedSetsAdd::class)->hourlyAt(15);
$schedule->command(NegativeKeywordSharedSetsUpdate::class)->hourlyAt(15);
$schedule->command(CampaignsAdd::class)->hourlyAt(15); $schedule->command(CampaignsAdd::class)->hourlyAt(15);
$schedule->command(CampaignsUpdate::class)->hourlyAt(15); $schedule->command(CampaignsUpdate::class)->hourlyAt(15);
...@@ -92,6 +89,9 @@ class Kernel extends ConsoleKernel ...@@ -92,6 +89,9 @@ class Kernel extends ConsoleKernel
$schedule->command(VCardsAdd::class)->hourlyAt(35); $schedule->command(VCardsAdd::class)->hourlyAt(35);
$schedule->command(AdExtensionsAdd::class)->hourlyAt(35); $schedule->command(AdExtensionsAdd::class)->hourlyAt(35);
$schedule->command(SitelinksAdd::class)->hourlyAt(35); $schedule->command(SitelinksAdd::class)->hourlyAt(35);
$schedule->command(NegativeKeywordSharedSetsAdd::class)->hourlyAt(35);
$schedule->command(NegativeKeywordSharedSetsUpdate::class)->hourlyAt(35);
$schedule->command(RetargetinglistsAdd::class)->hourlyAt(35);
$schedule->command(AdGroupsAdd::class)->hourlyAt(35); $schedule->command(AdGroupsAdd::class)->hourlyAt(35);
$schedule->command(AdGroupsUpdate::class)->hourlyAt(35); $schedule->command(AdGroupsUpdate::class)->hourlyAt(35);
......
...@@ -43,12 +43,10 @@ class YandexDirect extends API{ ...@@ -43,12 +43,10 @@ class YandexDirect extends API{
public function execute(): Response public function execute(): Response
{ {
// Log::debug($this->request->getBody());
$result = Http::withBody($this->request->getBody(), 'none') $result = Http::withBody($this->request->getBody(), 'none')
->withHeaders($this->request->getHeaders()) ->withHeaders($this->request->getHeaders())
->withToken($this->request->getToken()->token) ->withToken($this->request->getToken()->token)
->post($this->request->getUrl()); ->post($this->request->getUrl());
// Log::debug($result->json());
return $result; return $result;
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!