Commit 53ea3bbf authored by 胡文斌's avatar 胡文斌

修改配置

parent 6f98f823
...@@ -105,7 +105,7 @@ public class MainConfig extends JFinalConfig { ...@@ -105,7 +105,7 @@ public class MainConfig extends JFinalConfig {
// 先加载开发环境配置,再追加生产环境的少量配置覆盖掉开发环境配置 // 先加载开发环境配置,再追加生产环境的少量配置覆盖掉开发环境配置
public static void loadConfig() { public static void loadConfig() {
if (p == null) { if (p == null) {
p = PropKit.use("config.properties").appendIfExists("config-pro.properties"); p = PropKit.use("AppConfig.properties").appendIfExists("AppConfig-pro.properties");
// p = PropKit.use("config.properties"); // p = PropKit.use("config.properties");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment