From fcc6fd035d3151b686c97b0c547be225f11a6722 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Wed, 17 Jun 2020 23:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eredis=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cache.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/cache.php b/config/cache.php index dd492df..6fe8372 100644 --- a/config/cache.php +++ b/config/cache.php @@ -26,5 +26,10 @@ return [ 'serialize' => [], ], // 更多的缓存连接 + 'redis' => [ + 'type' => 'redis', + 'host' => '127.0.0.1', + 'password' => '123456', + ] ], ];