批量更新

This commit is contained in:
云泽网
2025-05-19 21:51:21 +08:00
parent 7bd072add9
commit 07b3bd5eff
86 changed files with 1768 additions and 18426 deletions
+20 -2
View File
@@ -14,9 +14,9 @@ return [
// 驱动方式
'type' => 'File',
// 缓存保存目录
'path' => '',
'path' => runtime_path() . 'cache',
// 缓存前缀
'prefix' => '',
'prefix' => 'cache_',
// 缓存有效期 0表示永久缓存
'expire' => 0,
// 缓存标签前缀
@@ -25,5 +25,23 @@ return [
'serialize' => [],
],
// 更多的缓存连接
'redis' => [
// 驱动方式
'type' => 'redis',
// 服务器地址
'host' => env('redis.host', '127.0.0.1'),
// 端口
'port' => env('redis.port', 6379),
// 密码
'password' => env('redis.password', ''),
// 数据库索引
'select' => env('redis.select', 0),
// 连接超时时间
'timeout' => 0,
// 是否持久化连接
'persistent' => true,
// 缓存前缀
'prefix' => 'yz_:',
],
],
];