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