chore(#27): sync issues/27 from monorepo (bfeabe5 issues/27: fix date immutable)

This commit is contained in:
sova-ci
2026-06-09 15:42:04 +03:00
parent 65934cff3c
commit 9d452cefa6
9 changed files with 9 additions and 118 deletions
@@ -26,7 +26,6 @@ class XmlFeedGeneratorV1Service
private SpecialistService $specialistService,
private HelperService $helperService,
private Connection $connection,
private string $apiPublicUrl,
private ?LoggerInterface $logger = null,
) {
$this->dom = new DOMDocument('1.0', 'UTF-8');
@@ -140,7 +139,7 @@ class XmlFeedGeneratorV1Service
}
};
return rtrim($this->apiPublicUrl, '/') . "/images/logo/{$picture}";
return "https://api.sovamed.ru/images/logo/{$picture}";
}
private function getSpecialistLink(Specialist $specialist): string
@@ -220,7 +219,7 @@ class XmlFeedGeneratorV1Service
$this->addTextElement($offerElement, 'url', $url);
$this->addTextElement($offerElement, 'set-ids', $specialist->getDcodes());
$picture = rtrim($this->apiPublicUrl, '/') . "/specialist/picture/{$specialist->getId()}";
$picture = "https://api.sovamed.ru/specialist/picture/{$specialist->getId()}";
$this->addTextElement($offerElement, 'picture', $picture);
$this->addTextElement($offerElement, 'categoryId', '1');
$this->addTextElement($offerElement, 'currencyId', 'RUR');