fix: 同步更新插件

This commit is contained in:
邹景立 2024-08-15 01:22:54 +08:00
parent a10f663ca1
commit 45786f4212
8 changed files with 10 additions and 31 deletions

View File

@ -1,13 +0,0 @@
[mysql]
hostname=127.0.0.1
database=admin_dv
username=root
password=root
hostport=3306
prefix=
[redis]
host=127.0.0.1
port=6379
password=
select=0

View File

@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | Static Plugin for ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ]
// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ]
// +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top
// +----------------------------------------------------------------------

View File

@ -34,10 +34,5 @@
"allow-plugins": {
"zoujingli/think-install": true
}
},
"scripts": {
"post-autoload-dump": [
"@php -r \"file_exists('.env.example') && !file_exists('.env') && copy('.env.example', '.env');\""
]
}
}

View File

@ -39,6 +39,8 @@ return [
'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',
// X-Frame-Options 配置
'cors_frame' => 'sameorigin',
// RBAC 登录页面(填写登录地址)
'rbac_login' => '',
// RBAC 忽略应用(填写应用名称)

View File

@ -33,15 +33,15 @@ return [
// 数据库名
'database' => env('mysql.database', 'thinkadmin'),
// 用户名
'username' => env('mysql.username', 'thinkadmin'),
'username' => env('mysql.username', 'root'),
// 密码
'password' => env('mysql.password', 'thinkadmin'),
'password' => env('mysql.password', ''),
// 端口
'hostport' => env('mysql.hostport', '3306'),
// 数据库连接参数
'params' => [],
// 数据库编码默认采用 utf8
'charset' => 'utf8mb4',
'charset' => env('mysql.charset', 'utf8mb4'),
// 数据库表前缀
'prefix' => env('mysql.prefix', ''),
// 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器)

View File

@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | Static Plugin for ThinkAdmin
// +----------------------------------------------------------------------
// | 版权所有 2014~2023 ThinkAdmin [ thinkadmin.top ]
// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ]
// +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top
// +----------------------------------------------------------------------

View File

@ -3,7 +3,7 @@
// +----------------------------------------------------------------------
// | 官方网站: https://thinkadmin.top
// +----------------------------------------------------------------------
// | 版权所有 2014~2023 Anyon <zoujingli@qq.com>
// | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ]
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// | 免责声明 ( https://thinkadmin.top/disclaimer )
@ -43,11 +43,6 @@ $(function () {
// 显示表格图片
window.showTableImage = function (image, circle, size, title) {
if (typeof image !== 'string' || image.length < 5) {
return '<span class="color-desc">-</span>' + (title ? laytpl('<span class="margin-left-5">{{d.title}}</span>').render({title: title}) : '');
}
return laytpl('<div class="headimg {{d.class}} headimg-{{d.size}}" data-tips-image data-tips-hover data-lazy-src="{{d.image}}" style="{{d.style}}"></div>').render({
size: size || 'ss', class: circle ? 'shadow-inset' : 'headimg-no', image: image, style: 'background-image:url(' + image + ');margin-right:0'
}) + (title ? laytpl('<span class="margin-left-5">{{d.title}}</span>').render({title: title}) : '');
return $.layTable.showImage(image, circle, size, title);
};
});

View File

@ -3,7 +3,7 @@
/* +----------------------------------------------------------------------
/* | 官方网站: https://thinkadmin.top
/* +----------------------------------------------------------------------
/* | 版权所有 2014~2023 Anyon<zoujingli@qq.com>
/* | 版权所有 2014~2024 ThinkAdmin [ thinkadmin.top ]
/* +----------------------------------------------------------------------
/* | 开源协议 ( https://mit-license.org )
/* | 免责声明 ( https://thinkadmin.top/disclaimer )