From a3047312a45028a1eede1e186df335a8a6d85f8c Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 25 Oct 2024 14:12:01 +0300 Subject: [PATCH] =?utf8?q?=D0=92=D0=B5=D1=80=D0=BD=D1=83=D0=BB=D1=81=D1=8F?= =?utf8?q?=20=D0=BA=20=D0=B8=D0=BC=D0=B8=D1=82=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/FlowwowController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erp24/api2/controllers/FlowwowController.php b/erp24/api2/controllers/FlowwowController.php index a2fb0706..cdcd1047 100644 --- a/erp24/api2/controllers/FlowwowController.php +++ b/erp24/api2/controllers/FlowwowController.php @@ -14,10 +14,9 @@ class FlowwowController extends Controller */ public function actionFeed($id) { - // Получаем информацию о продуктах + $productsInfo = MarketplaceService::getAllProductsInfo($id); - // $productsInfo = MarketplaceService::getSomeProductsInfo(3); - // Генерируем XML-фид + $xmlFeed = MarketplaceService::createXMLFeed($productsInfo); // Устанавливаем заголовок, чтобы отдать XML -- 2.39.5