浏览代码

接口日志

lizhen_gitee 6 月之前
父节点
当前提交
3e4f095c92
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      application/common/controller/Api.php

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

@@ -161,6 +161,7 @@ class Api
                 'user_id' => $this->auth->id ?: '',
                 'username' => $this->auth->mobile ?: '',
                 'url' => $modulename . '/' . $controllername . '/' . $actionname,
+                'param' => json_encode($this->request->request()),
                 'content' => json_encode(request()->param('', null, 'trim,strip_tags,htmlspecialchars'), JSON_UNESCAPED_UNICODE),
                 'ip' => request()->ip(),
                 'useragent' => substr(request()->server('HTTP_USER_AGENT'), 0, 255),