Skip to content

Commit 936fe91

Browse files
authored
Merge pull request #11 from renjade/main
config配置增加选择的数据库索引
2 parents 705ed23 + 19adcea commit 936fe91

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/config/think-cache.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
'username' => '',
1515
// redis密码
1616
'password' => '',
17+
// 选择的数据库索引
18+
'select' => 0,
1719
// 缓存前缀
1820
'prefix' => 'cache:',
1921
// 默认缓存有效期 0表示永久缓存

0 commit comments

Comments
 (0)