lizhen_gitee преди 2 месеца
родител
ревизия
ea431f5b2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      application/common/controller/Api.php

+ 1 - 1
application/common/controller/Api.php

@@ -403,7 +403,7 @@ class Api
         }
 
         defined('API_REQUEST_LOG_TYPE') or define('API_REQUEST_LOG_TYPE', $this->logType);
-        $params = $this->request->request();
+        $params = $this->request->param();
         if ($this->logType === 1){
             //日志统一写入
             register_shutdown_function([new LogUtil, 'close']);