From f9c6656dd0dde8fe3b3844d31b1a924fcd9c708f Mon Sep 17 00:00:00 2001 From: mzeros Date: Sun, 8 Dec 2024 15:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E5=A4=87?= =?UTF-8?q?=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php.bak | 45 ---------------------------- config/cache.php.bak | 36 ---------------------- config/database.php.bak | 66 ----------------------------------------- config/session.php.bak | 21 ------------- config/worker.php.bak | 52 -------------------------------- 5 files changed, 220 deletions(-) delete mode 100644 config/app.php.bak delete mode 100644 config/cache.php.bak delete mode 100644 config/database.php.bak delete mode 100644 config/session.php.bak delete mode 100644 config/worker.php.bak diff --git a/config/app.php.bak b/config/app.php.bak deleted file mode 100644 index 7ca10e9..0000000 --- a/config/app.php.bak +++ /dev/null @@ -1,45 +0,0 @@ - '', - // 应用的命名空间 - 'app_namespace' => '', - // 是否启用路由 - 'with_route' => true, - // 是否启用事件 - 'with_event' => true, - // 开启应用快速访问 - 'app_express' => true, - // 默认应用 - 'default_app' => 'index', - // 默认时区 - 'default_timezone' => 'Asia/Shanghai', - // 应用映射(自动多应用模式有效) - 'app_map' => [], - // 域名绑定(自动多应用模式有效) - 'domain_bind' => [ - 'openapi.mhcz.local' => 'openapi' - ], - // 禁止URL访问的应用列表(自动多应用模式有效) - 'deny_app_list' => [], - // 异常页面的模板文件 - 'exception_tmpl' => app()->getAppPath() . 'admin/view/error.tpl', - // 错误显示信息,非调试模式有效 - 'error_message' => '页面错误!请稍后再试~', - // 显示错误信息 - 'show_error_msg' => app()->isDebug(), -]; \ No newline at end of file diff --git a/config/cache.php.bak b/config/cache.php.bak deleted file mode 100644 index 6c7fb0b..0000000 --- a/config/cache.php.bak +++ /dev/null @@ -1,36 +0,0 @@ - 'file', - // 缓存连接方式配置 - 'stores' => [ - 'file' => [ - // 驱动方式 - 'type' => 'File', - // 缓存保存目录 - 'path' => app()->getRootPath() . 'runtime' . DIRECTORY_SEPARATOR . 'cache' . DIRECTORY_SEPARATOR, - // 缓存名称前缀 - 'prefix' => '', - // 缓存有效期 0 表示永久缓存 - 'expire' => 0, - // 缓存标签前缀 - 'tag_prefix' => 'tag:', - // 序列化机制 - 'serialize' => [], - ], - ], -]; diff --git a/config/database.php.bak b/config/database.php.bak deleted file mode 100644 index 1c9c438..0000000 --- a/config/database.php.bak +++ /dev/null @@ -1,66 +0,0 @@ - 'mysql', - // 自定义时间查询规则 - 'time_query_rule' => [], - // 自动写入时间戳字段 - 'auto_timestamp' => true, - // 时间字段取出后的默认时间格式 - 'datetime_format' => 'Y-m-d H:i:s', -// 'resultset_type' => 'collection', - // 数据库连接配置信息 - 'connections' => [ - 'mysql' => [ - // 数据库类型 - 'type' => 'mysql', - // 服务器地址 -// 'hostname' => '172.18.117.53', - 'hostname' => 'mysql', - // 数据库名 - 'database' => 'reapi', - // 用户名 - 'username' => 'reapi', - // 密码 - 'password' => 'JE4SW2FeZAzwFkAi', - // 端口 - 'hostport' => '3306', - // 数据库连接参数 - 'params' => [ - - ], - // 数据库编码默认采用utf8 - 'charset' => 'utf8mb4', - // 数据库表前缀 - 'prefix' => '', - // 数据库调试模式 - 'debug' => app()->isDebug(), - // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) - 'deploy' => 0, - // 数据库读写是否分离 主从式有效 - 'rw_separate' => false, - // 读写分离后 主服务器数量 - 'master_num' => 1, - // 指定从服务器序号 - 'slave_no' => '', - // 是否严格检查字段是否存在 - 'fields_strict' => true, - // 是否需要断线重连 - 'break_reconnect' => false, - ], - ], -]; diff --git a/config/session.php.bak b/config/session.php.bak deleted file mode 100644 index cc865ea..0000000 --- a/config/session.php.bak +++ /dev/null @@ -1,21 +0,0 @@ - 'file', - 'store' => null, - 'expire' => 1800, - 'prefix' => '', -]; diff --git a/config/worker.php.bak b/config/worker.php.bak deleted file mode 100644 index f72a613..0000000 --- a/config/worker.php.bak +++ /dev/null @@ -1,52 +0,0 @@ - '0.0.0.0', - // 服务监听端口 - 'port' => 3535, - // 套接字上下文选项 - 'context' => [], - // 高级自定义服务类 - 'classes' => '', - // 消息请求回调处理 - 'callable' => null, - // 服务进程参数配置 - 'worker' => [ - 'name' => 'ThinkAdmin', - 'count' => 4, - ], - // 监控文件变更重载 - 'files' => [ - // 监控检测间隔(单位秒,零不监控) - 'time' => 3, - // 文件监控目录(默认监控 app+config+vendor 目录) - 'path' => [], - // 文件监控后缀(默认监控 所有 文件) - 'exts' => ['*'] - ], - // 监控内存超限重载 - 'memory' => [ - // 监控检测间隔(单位秒,零不监控) - 'time' => 60, - // 限制内存大小(可选单位有 G M K ) - 'limit' => '1G' - ], -]; \ No newline at end of file