Ver código fonte

接口日志

lizhen_gitee 6 meses atrás
pai
commit
3e4f095c92
1 arquivos alterados com 1 adições e 0 exclusões
  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),