From b90b528cb5c6eaebe03fba972fef658a741ce896 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 26 Feb 2026 18:19:13 +0800
Subject: [PATCH] 活动评价

---
 admin/config/cache.php |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/admin/config/cache.php b/admin/config/cache.php
index 98c8c4b..af86a16 100644
--- a/admin/config/cache.php
+++ b/admin/config/cache.php
@@ -27,5 +27,29 @@
             'serialize'  => [],
         ],
         // 更多的缓存连接
+        'redis' => [
+            // 驱动方式
+            'type'       => 'redis',
+            // 服务器地址
+            'host'       =>'127.0.0.1',
+            // 端口
+            'port'       =>  6379,
+            // 密码
+            'password'   =>  '',
+            // 缓存库
+            'select'     =>  0,
+            // 超时时间(秒)
+            'timeout'    => 0,
+            // 缓存有效期 0表示永久缓存
+            'expire'     => 0,
+            // 是否长连接
+            'persistent' => false,
+            // 缓存前缀
+            'prefix'     => '',
+            // 缓存标签前缀
+            'tag_prefix' => 'tag:',
+            // 序列化机制 例如 ['serialize', 'unserialize']
+            'serialize'  => [],
+        ],
     ],
 ];

--
Gitblit v1.9.2