mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
调试系统性能;
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
namespace app\common\model;
|
||||
|
||||
use app\common\traits\AutoClearCache;
|
||||
use think\Model;
|
||||
|
||||
class Base extends Model
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.1.0",
|
||||
"topthink/framework": "6.0.*",
|
||||
"topthink/think-orm": "2.0.*",
|
||||
"topthink/framework": "^6.0.0",
|
||||
"topthink/think-orm": "^2.0.0",
|
||||
"topthink/think-view": "^1.0",
|
||||
"topthink/think-migration": "^3.0",
|
||||
"topthink/think-helper": "^3.1",
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
|
||||
use think\facade\App;
|
||||
use think\facade\Env;
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
@@ -55,9 +55,8 @@ return [
|
||||
// 监听SQL
|
||||
'trigger_sql' => true,
|
||||
// 开启字段缓存
|
||||
'fields_cache' => false,
|
||||
// 字段缓存路径
|
||||
'schema_cache_path' => app()->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR,
|
||||
'fields_cache' => true,
|
||||
|
||||
],
|
||||
'sqlite' => [
|
||||
// 数据库类型
|
||||
|
||||
Reference in New Issue
Block a user