Skip to content

Commit 5f693f4

Browse files
committed
修复在线升级提示
1 parent 0b515b1 commit 5f693f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/app/controller/Index.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ public function upgradeTips(){
182182
$news_version = $result['data']['news_version'];
183183
if ($version < $news_version) {
184184
return $this->apiReturn(1,[],"当前系统最新版本为:{$news_version},是否升级");
185+
} else {
186+
return $this->apiReturn(0,[],"update.lock文件不存在");
185187
}
186188
}
187189
}

0 commit comments

Comments
 (0)