From: Alexander Smirnov Date: Wed, 13 Nov 2024 10:12:58 +0000 (+0300) Subject: [ERP-148] красивая урл для картинки 6 X-Git-Tag: 1.6~7^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=08d87d6a78913f45d481ba53df0082c4b7e7c76f;p=erp24_rep%2Fyii-erp24%2F.git [ERP-148] красивая урл для картинки 6 --- diff --git a/erp24/api2/controllers/YandexMarketController.php b/erp24/api2/controllers/YandexMarketController.php index 62bd6dbe..c5412499 100644 --- a/erp24/api2/controllers/YandexMarketController.php +++ b/erp24/api2/controllers/YandexMarketController.php @@ -18,7 +18,7 @@ use yii_app\records\ProductsClass; class YandexMarketController extends Controller { public function actionCreateCards() { - Yii::$app->response->format = \yii\web\Response::FORMAT_JSON; + Yii::$app->response->format = \yii\web\Response::FORMAT_RAW; //http://localhost:5555/yandex-market/test $config = Configuration::getDefaultConfiguration()->setApiKey('Api-Key', 'ACMA:r3sa2VyjkgcO0aOxGoyAWuGH15g5mWAqXRMuylVA:a0bccb7e');