瀏覽代碼

接口日志

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']);