From 74031a4783a0a0171100b609734ae4fd8048dcd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 27 Feb 2024 10:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.php | 18 +++++++++--------- config/cache.php | 2 +- config/cookie.php | 2 +- config/database.php | 2 +- config/lang.php | 2 +- config/log.php | 2 +- config/phinx.php | 2 +- config/route.php | 2 +- config/session.php | 2 +- config/view.php | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config/app.php b/config/app.php index b41cbd72b..680e6466f 100644 --- a/config/app.php +++ b/config/app.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- @@ -25,24 +25,24 @@ return [ 'super_user' => 'admin', // 默认时区 'default_timezone' => 'Asia/Shanghai', - // 应用映射(自动多应用模式有效) + // 应用映射(多应用模式有效) 'app_map' => [], - // 域名绑定(自动多应用模式有效) + // 域名绑定(多应用模式有效) 'domain_bind' => [], - // 禁止访问(自动多应用模式有效) + // 禁止访问(多应用模式有效) 'deny_app_list' => [], - // RBAC 登录地址(填写登录地址) - 'rbac_login' => '', - // RBAC 忽略应用(填写应用名称) - 'rbac_ignore' => ['index'], // CORS 启用状态(默认开启跨域) 'cors_on' => true, - // CORS 配置跨域域名(仅需填写域名,留空则自适应域名) + // CORS 配置跨域域名(仅需填域名,留空则自动域名) 'cors_host' => [], // CORS 授权请求方法 'cors_methods' => 'GET,PUT,POST,PATCH,DELETE', // CORS 跨域头部字段 'cors_headers' => 'Api-Type,Api-Name,Api-Uuid,Jwt-Token,Api-Token,User-Form-Token,User-Token,Token', + // RBAC 登录页面(填写登录地址) + 'rbac_login' => '', + // RBAC 忽略应用(填写应用名称) + 'rbac_ignore' => ['index'], // 显示错误消息内容,仅生产模式有效 'error_message' => '页面错误!请稍后再试~', // 异常状态模板配置,仅生产模式有效 diff --git a/config/cache.php b/config/cache.php index f8ba0ebcc..25d927aa0 100644 --- a/config/cache.php +++ b/config/cache.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/cookie.php b/config/cookie.php index 49b9ca0bd..de985c001 100644 --- a/config/cookie.php +++ b/config/cookie.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/database.php b/config/database.php index dee533a65..37f817552 100644 --- a/config/database.php +++ b/config/database.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 Anyon +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/lang.php b/config/lang.php index 5c6d5c636..fedfb2df2 100644 --- a/config/lang.php +++ b/config/lang.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/log.php b/config/log.php index 01be75c29..179bfa297 100644 --- a/config/log.php +++ b/config/log.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/phinx.php b/config/phinx.php index 58800922d..a9ee86682 100644 --- a/config/phinx.php +++ b/config/phinx.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/route.php b/config/route.php index 76e629b54..86727191d 100644 --- a/config/route.php +++ b/config/route.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/session.php b/config/session.php index 1eb540994..1dd6c59b9 100644 --- a/config/session.php +++ b/config/session.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +---------------------------------------------------------------------- diff --git a/config/view.php b/config/view.php index 1f432caa5..1de5e3eb1 100644 --- a/config/view.php +++ b/config/view.php @@ -3,7 +3,7 @@ // +---------------------------------------------------------------------- // | Static Plugin for ThinkAdmin // +---------------------------------------------------------------------- -// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ] +// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ] // +---------------------------------------------------------------------- // | 官方网站: https://thinkadmin.top // +----------------------------------------------------------------------