mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
优化更新逻辑
This commit is contained in:
@@ -229,6 +229,12 @@ class AdminUpdateServiceBase
|
||||
|
||||
// 如果现存版本和当前版本一致,则直接处理
|
||||
if (PathTools::compareFiles($now_file_path, $current_file_path)) {
|
||||
|
||||
if(PathTools::compareFiles($current_file_path,$last_file_path)){
|
||||
// 如果当前版本和新版本一致,则无需处理
|
||||
continue;
|
||||
}
|
||||
|
||||
// 如果当前代码 和 当前版本 一致
|
||||
$need_process_files[$file_path] = $type;
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user