java110
2022-02-25 8a2a463d46b3dce73015462c9f6a2a258dd25f5b
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";
        }