Bladeren bron

接口日志

lizhen_gitee 6 maanden geleden
bovenliggende
commit
3e4f095c92
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  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),