This commit is contained in:
wangjinlei
2024-08-07 15:02:13 +08:00
parent 171a2230d2
commit 0987a2ecbd
8 changed files with 164 additions and 21 deletions

View File

@@ -25,7 +25,7 @@ class Redis extends Driver
protected $options = [
'host' => '127.0.0.1',
'port' => 6379,
'password' => '',
'password' => 'Jgll2015',
'select' => 0,
'timeout' => 0,
'expire' => 0,

View File

@@ -21,7 +21,7 @@ class Redis extends SessionHandler
protected $config = [
'host' => '127.0.0.1', // redis主机
'port' => 6379, // redis端口
'password' => '', // 密码
'password' => 'Jgll2015', // 密码
'select' => 0, // 操作库
'expire' => 3600, // 有效期(秒)
'timeout' => 0, // 超时时间(秒)