管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-01-14 d06e9c0007b4bcde6b397d62bf3ff3fbc0359065
src/main/java/com/lf/server/config/InitConfig.java
@@ -21,6 +21,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
@@ -58,6 +59,9 @@
    @Autowired
    LocateService locateService;
    @Autowired
    Environment env;
    @Override
    public void run(ApplicationArguments args) {
        // noinspection AlibabaRemoveCommentedCode
@@ -85,7 +89,7 @@
            //boolean f4 = Zip4jHelper.unzip("D:\\LF\\data\\zip\\resources.zip", "D:\\LF\\data\\zip\\res", "12345");
            // 初始化
            GdalHelper.init();
            GdalHelper.init(env.getProperty("sys.gdal_driver_path"));
            pathHelper.init();
            argsService.initSettingData();