]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-148] красивая урл для картинки 6
authorAlexander Smirnov <fredeom@mail.ru>
Wed, 13 Nov 2024 10:12:58 +0000 (13:12 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Wed, 13 Nov 2024 10:12:58 +0000 (13:12 +0300)
erp24/api2/controllers/YandexMarketController.php

index 62bd6dbefef827720e2635108a4d9cbb371cd806..c54124999d73571a890fa71c605b1a80d42d8e62 100644 (file)
@@ -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');