From b47a63abb1decee76a55242272f7e1a050aa653b Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Mon, 11 Aug 2025 13:06:44 +0300 Subject: [PATCH] =?utf8?q?=D0=9B=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?utf8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/media/controllers/FlowwowController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/media/controllers/FlowwowController.php b/erp24/media/controllers/FlowwowController.php index d1170115..f600ad64 100644 --- a/erp24/media/controllers/FlowwowController.php +++ b/erp24/media/controllers/FlowwowController.php @@ -28,14 +28,14 @@ class FlowwowController extends Controller public function actionFeed($id) { $balanceInfo = MarketplaceService::infoForMarketplace(1); - + Yii::error('Баланс ' . json_encode($balanceInfo, JSON_UNESCAPED_UNICODE)); $productsInfo = MarketplaceService::getProductsInfoForFeed($id, $balanceInfo); - + Yii::error('Инфо товаров ' . json_encode($productsInfo, JSON_UNESCAPED_UNICODE)); // $productsInfo = MarketplaceService::getAllProductsInfo($id); $xmlFeed = MarketplaceService::createXMLFeed($productsInfo); - + Yii::error('Фид ' . json_encode($xmlFeed, JSON_UNESCAPED_UNICODE)); Yii::$app->response->format = Response::FORMAT_RAW; Yii::$app->response->headers->add('Content-Type', 'application/xml; charset=utf-8'); -- 2.39.5