lizhen_gitee 8 місяців тому
батько
коміт
67d1244077
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      application/common/controller/Api.php

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

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