mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 03:42:49 +08:00
更新版本提示优先自定义的路径
This commit is contained in:
@@ -332,7 +332,11 @@ class AdminUpdateServiceBase
|
|||||||
$output->writeln('更新完成');
|
$output->writeln('更新完成');
|
||||||
// 更新完成
|
// 更新完成
|
||||||
|
|
||||||
$update_tips = include $last_version_dir . '/extend/base/admin/service/adminUpdateData/tips.php';
|
$update_tips_file_path = $last_version_dir . '/app/admin/service/adminUpdateData/tips.php';
|
||||||
|
if(!file_exists($update_tips_file_path)){
|
||||||
|
$update_tips_file_path = $last_version_dir . '/extend/base/admin/service/adminUpdateData/tips.php';
|
||||||
|
}
|
||||||
|
$update_tips = include $update_tips_file_path;
|
||||||
|
|
||||||
// 按照版本号排序
|
// 按照版本号排序
|
||||||
usort($update_tips, function ($a, $b) {
|
usort($update_tips, function ($a, $b) {
|
||||||
|
|||||||
@@ -12,14 +12,14 @@ use think\console\Output;
|
|||||||
|
|
||||||
class VersionBase extends Command
|
class VersionBase extends Command
|
||||||
{
|
{
|
||||||
public const VERSION = 'v2.0.106';
|
public const VERSION = 'v2.0.107';
|
||||||
|
|
||||||
public const PRODUCT_VERSION = '';
|
public const PRODUCT_VERSION = '';
|
||||||
|
|
||||||
public const LAYUI_VERSION = '2.8.17';
|
public const LAYUI_VERSION = '2.8.17';
|
||||||
|
|
||||||
public const COMMENT = [
|
public const COMMENT = [
|
||||||
'修复更新底层机制错误',
|
'更新版本提示优先自定义的路径',
|
||||||
'发布新版本',
|
'发布新版本',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user