环境配置文件
This commit is contained in:
@@ -7,9 +7,9 @@ return [
|
||||
// 允许跨域访问的域名(* 表示任意;开发可用 *,生产建议填具体域名)
|
||||
'cors_request_domain' => '*',
|
||||
// 是否开启会员登录验证码
|
||||
'user_login_captcha' => true,
|
||||
'user_login_captcha' => false,
|
||||
// 是否开启管理员登录验证码
|
||||
'admin_login_captcha' => true,
|
||||
'admin_login_captcha' => false,
|
||||
// 会员登录失败可重试次数,false则无限
|
||||
'user_login_retry' => 10,
|
||||
// 管理员登录失败可重试次数,false则无限
|
||||
@@ -44,7 +44,7 @@ return [
|
||||
// 默认驱动方式
|
||||
'default' => 'mysql',
|
||||
// 加密key
|
||||
'key' => 'L1iYVS0PChKA9pjcFdmOGb4zfDIHo5xw',
|
||||
'key' => 'u4w3NzEr5QTv2ygjYOoMVZ6snKAePxJp',
|
||||
// 加密方式
|
||||
'algo' => 'ripemd160',
|
||||
// 驱动
|
||||
|
||||
@@ -42,11 +42,11 @@ return [
|
||||
// 服务器地址
|
||||
'hostname' => $env('database.hostname', '127.0.0.1'),
|
||||
// 数据库名(与 database.php / .env 一致)
|
||||
'database' => $env('database.database', 'buildadmin-webman'),
|
||||
'database' => $env('database.database', 'webman-buildadmin-dafuweng'),
|
||||
// 用户名(与 .env DATABASE_USERNAME 一致,默认勿用 root 以免与本机 MySQL 不符)
|
||||
'username' => $env('database.username', 'buildadmin-webman'),
|
||||
'username' => $env('database.username', 'webman-buildadmin-dafuweng'),
|
||||
// 密码(与 .env DATABASE_PASSWORD 一致)
|
||||
'password' => $env('database.password', '123456'),
|
||||
'password' => $env('database.password', '6dzMaX32Xdsc4DjS'),
|
||||
// 端口
|
||||
'hostport' => $env('database.hostport', '3306'),
|
||||
// 数据库连接参数(MYSQL_ATTR_USE_BUFFERED_QUERY 避免 "Cannot execute queries while other unbuffered queries are active")
|
||||
|
||||
Reference in New Issue
Block a user