From aae959a8a204b221e57ca3c1a02898b331f05e41 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 2 Sep 2024 01:37:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cache.php b/config/cache.php index 67fa42d..044cf99 100644 --- a/config/cache.php +++ b/config/cache.php @@ -39,7 +39,7 @@ return [ // 驱动方式 'type' => 'redis', // 服务器地址 - 'host' => '127.0.0.1', + 'host' => Env::get('cache.redis_host', '127.0.0.1'), 'select' => Env::get('cache.redis_select', 0), 'prefix' => '', 'password' => Env::get('cache.redis_password', ''),