前端分流页功能

This commit is contained in:
root
2026-06-05 04:22:29 +08:00
parent 8afe25a960
commit 34d76cce74
120 changed files with 10782 additions and 284 deletions
+20 -9
View File
@@ -183,16 +183,27 @@ return [
// +----------------------------------------------------------------------
// | 缓存设置
// +----------------------------------------------------------------------
'cache' => [
// 驱动方式
'type' => 'File',
// 缓存保存目录
'path' => CACHE_PATH,
// 缓存前缀
'prefix' => '',
// 缓存有效期 0表示永久缓存
'expire' => 0,
// 'cache' => [
// // 驱动方式
// 'type' => 'File',
// // 缓存保存目录
// 'path' => CACHE_PATH,
// // 缓存前缀
// 'prefix' => '',
// // 缓存有效期 0表示永久缓存
// 'expire' => 0,
// ],
'cache' => [
'type' => 'redis', // 修改为 redis
'host' => '127.0.0.1', // Redis 服务器地址
'port' => 6379, // Redis 端口
'password' => '', // Redis 密码,若无则留空
'select' => 0, // 数据库索引
'expire' => 0, // 缓存有效期 0表示永久
'timeout' => 0, // 超时时间
],
// +----------------------------------------------------------------------
// | 会话设置
// +----------------------------------------------------------------------