wuxw
2022-07-17 ce64e667815b39efdc2f8bd52be0d43d49db8d84
java110-db/src/main/java/com/java110/db/DataSourceConfig.java
@@ -41,7 +41,7 @@
        String path = SHARDING_YML_PATH;
        String[] actives = env.getActiveProfiles();
        if (actives != null && actives.length > 0) {
        if (actives != null && actives.length > 0 && !"dev".equals(actives[0])) {
            path = "dataSource-" + actives[0] + ".yml";
        }