connection是引用了哪个配置呢? 回复内容: connection是引用了哪个配置呢? https://laravel.com/docs/5.2/redis,看看手册吧 在database.php配置文件中: 'redis' => [ 'cluster' => false, 'default' => [ 'host' => '127.0.0.1', 'port' => 6379, 'database' => 0, ], ],로그인 후 복사