]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убрал логи upload
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 18 Aug 2025 05:50:40 +0000 (08:50 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 18 Aug 2025 05:50:40 +0000 (08:50 +0300)
erp24/api2/controllers/DataController.php

index fe9a5c83f94ac49ee1217bc7dfdd012c9e7d9ca9..4f3b767abc6302cdb8b3e6cee2d93f4b0c5f49eb 100644 (file)
@@ -955,17 +955,7 @@ class DataController extends BaseController
         Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
 
         $request = Yii::$app->request->getRawBody();
-        $raw = Yii::$app->request->getRawBody();
-        $hdrs = Yii::$app->request->headers;
-
-        Yii::warning([
-            'method'        => Yii::$app->request->method,
-            'contentType'   => (string)$hdrs->get('content-type'),
-            'contentLength' => (string)$hdrs->get('content-length'),
-            'encoding'      => (string)$hdrs->get('content-encoding'),
-            'rawLen'        => strlen($raw),
-            'sha1'          => sha1($raw),
-        ], 'upload.debug');
+
         try {
             $result = Json::decode($request);
         } catch (Exception $ex) {