fix: 修复redis密码 优化权限

This commit is contained in:
Ying
2023-08-04 11:13:14 +08:00
parent 87c4137912
commit 732a385498
14 changed files with 110 additions and 46 deletions

View File

@@ -38,7 +38,7 @@ return [
'dispatch_success' => app_path() . '/admin/view/public/jumptpl.html',
'exception_tpl' => app_path() . '/admin/view/error/500.html',
'error_message' => '页面错误!请稍后再试~',
'version' => 'v1.1.8',
'version' => 'v1.1.9',
'cors_domain' => ['*', '127.0.0.1'],
'api_url' => 'https://api.swiftadmin.net/',
'show_error_msg' => false,

View File

@@ -15,7 +15,7 @@
return [
'default' => [
'host' => get_env('CACHE_HOSTNAME', '127.0.0.1'),
'password' => get_env('REDIS_PASSWORD', null),
'password' => get_env('CACHE_PASSWORD', null),
'port' => (int)get_env('CACHE_HOSTPORT',6379),
'database' => get_env('CACHE_SELECT', 0),
'prefix' => 'redis_',