modify application.properties

This commit is contained in:
2021-08-18 10:58:37 +08:00
parent 68a003cb27
commit be6ea0f41c
2 changed files with 7 additions and 4 deletions

View File

@@ -13,7 +13,9 @@ import org.springframework.stereotype.Service;
@Service
public class refreshServiceImpl implements refreshService {
freshServiceImpl ser=new freshServiceImpl();
@Autowired
freshServiceImpl ser;
//version1大返回一个正数小返回一个负数相等返回0
public static int compareVersion(String version1, String version2) throws Exception {
if (version1 == null || version2 == null) {