From: Aleksey Filippov Date: Thu, 13 Mar 2025 09:13:50 +0000 (+0300) Subject: отладка MarketplaceOrders X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=b0f786eb98b6f7a9492cff3c76ed26926332362c;p=erp24_rep%2Fyii-erp24%2F.git отладка MarketplaceOrders --- diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index a105c2c3..6cdd7eca 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -74,6 +74,12 @@ class DataController extends BaseController return dirname(__DIR__, 1); } + public function actionMarketplaceOrdersTest() + { + $newOrdersArray = $this->getMarketplaceOrders(); + return $this->asJson(json_decode($newOrdersArray, true)); + } + public function actionRequest() { Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;