add bootstrap.yml load.

This commit is contained in:
thinkgem
2019-01-10 20:07:07 +08:00
parent 2af14b2244
commit da9ff38b1b

View File

@@ -34,6 +34,7 @@ public class PropertiesUtils {
// 默认加载的文件可通过继承覆盖若有相同Key优先加载后面的
public static final String[] DEFAULT_CONFIG_FILE = new String[]{
"classpath:config/bootstrap.yml", "classpath:bootstrap.yml",
"classpath:config/application.yml", "classpath:application.yml"};
private static Logger logger = PropertiesUtils.initLogger();