From 69a090f6e0b5141a85beb97ebf923a9963157cd3 Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 8 Dec 2023 15:05:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E5=88=9B=E5=BB=BA=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/admin/service/AdminUpdateServiceBase.php | 2 +- extend/base/common/command/admin/VersionBase.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extend/base/admin/service/AdminUpdateServiceBase.php b/extend/base/admin/service/AdminUpdateServiceBase.php index 3ac7c58..d5a0231 100644 --- a/extend/base/admin/service/AdminUpdateServiceBase.php +++ b/extend/base/admin/service/AdminUpdateServiceBase.php @@ -248,6 +248,7 @@ class AdminUpdateServiceBase $now_file_path = $now_dir . '/' . $file_path; $last_file_path = $last_version_dir . '/' . $file_path; + PathTools::intiDir($now_file_path); if ($type == 'delete') { $output->writeln('删除文件' . $now_file_path); unlink($now_file_path); @@ -261,7 +262,6 @@ class AdminUpdateServiceBase } // 检测now的composer依赖和最新的composer依赖 - $last_composer_json = file_get_contents($last_version_dir . '/composer.json'); $output->writeln($last_composer_json); diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index 1628607..c156754 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -12,12 +12,12 @@ use think\console\Output; class VersionBase extends Command { - public const VERSION = 'v2.0.76'; + public const VERSION = 'v2.0.77'; public const LAYUI_VERSION = '2.8.17'; public const COMMENT = [ - '修复更新逻辑', + '修复更新逻辑创建目录', '发布新版本', ];