From: Vladimir Fomichev Date: Mon, 18 Aug 2025 11:53:48 +0000 (+0300) Subject: Правка логов X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=a98cb041cb02fafdf97adb9436336a581c5de65a;p=erp24_rep%2Fyii-erp24%2F.git Правка логов --- diff --git a/erp24/api2/controllers/DataController.php b/erp24/api2/controllers/DataController.php index 4f3b767a..9176df3b 100644 --- a/erp24/api2/controllers/DataController.php +++ b/erp24/api2/controllers/DataController.php @@ -298,7 +298,8 @@ class DataController extends BaseController $mess['line'][] = __LINE__; LogService::apiDataLogs(1, json_encode($mess, JSON_UNESCAPED_UNICODE), $jsonId); - Yii::error('Логи запроса ' . $jsonId . ' ' . json_encode($mess, JSON_UNESCAPED_UNICODE)); + LogService::apiDataLogs(1, json_encode($json, JSON_UNESCAPED_UNICODE), $jsonId); + } return $this->asJson(json_decode($json, true));