修复缓存问题,开始使用scss重构

This commit is contained in:
2022-03-26 18:33:24 +08:00
parent e72f20a538
commit 9cb26e2cbf
8 changed files with 437 additions and 387 deletions

View File

@@ -1,4 +1,5 @@
<?php
use think\facade\Env;
// +----------------------------------------------------------------------
@@ -6,7 +7,7 @@ use think\facade\Env;
// +----------------------------------------------------------------------
return [
// 默认日志记录通道
'default' => Env::get('log.channel', 'file'),
'default' => Env::get('log.channel', 'debug_mysql'),
// 日志记录级别
'level' => [],
// 日志类型记录的通道 ['error'=>'email',...]
@@ -41,6 +42,26 @@ return [
'realtime_write' => false,
],
// 其它日志通道配置
// 其它日志通道配置
'debug_mysql' => [
'type' => 'DebugMysql',
// 服务器地址
'hostname' => Env::get('database.hostname', '127.0.0.1'),
// 数据库名
'database' => Env::get('database.database', ''),
// 用户名
'username' => Env::get('database.username', ''),
// 密码
'password' => Env::get('database.password', ''),
// 端口
'hostport' => Env::get('database.hostport', '3306'),
// 数据库连接参数
'params' => [],
// 数据库编码默认采用utf8
'charset' => Env::get('database.charset', 'utf8'),
// 数据库表前缀
'prefix' => Env::get('database.prefix', 'ul_'),
]
],
];