file.Dir变为选配置添加其默认值

This commit is contained in:
陈精华
2019-04-16 21:09:32 +08:00
committed by kl
parent b625381de3
commit 4a7ba07df1
10 changed files with 68 additions and 24 deletions

View File

@@ -30,8 +30,7 @@ public class FileUtils {
@Autowired
CacheService cacheService;
@Value("${file.dir}")
String fileDir;
String fileDir = ConfigConstants.getFileDir();
@Value("${converted.file.charset}")
String charset;