浏览代码

redis密码

lizhen_gitee 3 月之前
父节点
当前提交
d2fbefce8a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/config.php

+ 1 - 1
application/config.php

@@ -341,7 +341,7 @@ return [
         // 端口
         'port'       => Env::get('redis.REDIS_PORT', 6379),
         // 密码
-        'password'   => Env::get('redis.REDIS_PASSWORD', ''),
+        'password'   => Env::get('redis.REDIS_PASSWORD', 'huxiu001'),
         'select'     => Env::get('redis.REDIS_DB', 15),
         'timeout'    => Env::get('redis.REDIS_TIMEOUT', 0),//
         // 默认缓存时常 0为永久