Ver Fonte

接口日志

lizhen_gitee há 1 ano atrás
pai
commit
44a8ee0fc6
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      application/common/controller/Api.php

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

@@ -238,6 +238,10 @@ class Api
             'time' => Request::instance()->server('REQUEST_TIME'),
             'data' => $data,
         ];
+
+        //日志
+        $this->request_log_update($result);
+
         // 如果未设置类型则自动判断
         $type = $type ? $type : ($this->request->param(config('var_jsonp_handler')) ? 'jsonp' : $this->responseType);