wupengfei 2 years ago
parent
commit
20c4b70518
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thinkphp/library/think/cache/driver/Redis.php

+ 1 - 1
thinkphp/library/think/cache/driver/Redis.php

@@ -26,7 +26,7 @@ class Redis extends Driver
         'host'       => '127.0.0.1',
         'port'       => 6379,
         'password'   => 'hdl2022',
-        'select'     => 13,
+        'select'     => '13',
         'timeout'    => 0,
         'expire'     => 0,
         'persistent' => false,