update:
1. update check-update api
This commit is contained in:
@@ -120,7 +120,7 @@ public class CommonReleaseVersionServiceImpl extends BaseServiceImpl<CommonRelea
|
||||
|
||||
if (current != null) {
|
||||
Semver currentSemver = new Semver(current.getVersionName());
|
||||
if (!semver.isGreaterThan(currentSemver)) {
|
||||
if (currentSemver.isGreaterThanOrEqualTo(semver)) {
|
||||
throw new ServiceException("当前版本号过小");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user