feat(add) config remote version url
@@ -31,6 +31,7 @@ import cn.hutool.system.SystemUtil;
import cn.jiangzeyin.common.spring.SpringUtil;
import io.jpom.JpomApplication;
import io.jpom.common.JpomManifest;
+import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;
@@ -47,6 +48,7 @@ import java.nio.charset.Charset;
* @date 2019/4/16
*/
@Configuration
+@Getter
public class ExtConfigBean {
public static final String FILE_NAME = "extConfig.yml";
@@ -92,6 +94,9 @@ public class ExtConfigBean {
*/
@Value("${system.oldJarsCount:2}")
private Integer oldJarsCount;
+
+ @Value("${system.remoteVersionUrl:}")
+ private String remoteVersionUrl;
/**
*
*/
