| | |
| | | package com.moon.server.config; |
| | | |
| | | import com.moon.server.entity.all.StaticData; |
| | | import com.moon.server.service.all.TestService; |
| | | import com.moon.server.service.all.UploadAttachService; |
| | | import com.moon.server.service.sys.ArgsService; |
| | | import com.moon.server.helper.GdalHelper; |
| | |
| | | @Resource |
| | | Environment env; |
| | | |
| | | //@Resource |
| | | //TestService testService; |
| | | @Resource |
| | | TestService testService; |
| | | |
| | | @Override |
| | | public void run(ApplicationArguments args) { |
| | |
| | | GdalHelper.init(env.getProperty("sys.gdal_path")); |
| | | UploadAttachService.init(env.getProperty("sys.attachTabs")); |
| | | |
| | | //testService.testRegister(); |
| | | //testService.testPerms(); |
| | | |
| | | pathHelper.init(); |
| | | StaticData.ADMIN = env.getProperty("sys.admin"); |
| | | argsService.initSettingData(); |