modify application.properties
此提交包含在:
@@ -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) {
|
||||
|
新增問題並參考
封鎖使用者