| | |
| | | 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; |
| | |
| | | @Autowired |
| | | LocateService locateService; |
| | | |
| | | @Autowired |
| | | Environment env; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | |
| | | //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(); |
| | | |