Browse Source

api记录日志的方式

lizhen_gitee 3 months ago
parent
commit
fa72d47d60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/controller/Api.php

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

@@ -70,7 +70,7 @@ class Api
     /**
      * @var int 日志类型 1 文件;2sql
      */
-    public $logType = 1;
+    public $logType = 2;
 
     /**
      * 构造方法