| | |
| | | package com.lf.server.config; |
| | | |
| | | import com.lf.server.helper.*; |
| | | import com.lf.server.service.all.TestService; |
| | | import com.lf.server.service.all.UploadAttachService; |
| | | import com.lf.server.service.sys.ArgsService; |
| | | import org.apache.commons.logging.Log; |
| | |
| | | @Autowired |
| | | Environment env; |
| | | |
| | | //@Autowired |
| | | //TestService testService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | | // noinspection AlibabaRemoveCommentedCode |
| | |
| | | GdalHelper.init(env.getProperty("sys.gdal_path")); |
| | | UploadAttachService.init(env.getProperty("sys.attachTabs")); |
| | | |
| | | //testService.testRegister(); |
| | | pathHelper.init(); |
| | | argsService.initSettingData(); |
| | | |