通用框架平台,每个分支对应子通用框架平台,禁止Merge不同分支!! 分支版本区别见项目内readme.md
whycxzp
2024-01-10 9a2b1251fc48874b76d3b02dbfc306698325dfeb
src/main/java/com/whyc/properties/PropertiesUtil.java
@@ -1,7 +1,6 @@
package com.whyc.properties;
import lombok.extern.log4j.Log4j2;
import org.springframework.util.StringUtils;
/**
 * @Description 读取Properties的工具类
@@ -23,7 +22,7 @@
        }*/
        try {
            propertiesShiro.load(PropertiesUtil.class.getClassLoader()
                    .getResourceAsStream("config/authentication.properties"));
                    .getResourceAsStream("config/authentication.properties.bak"));
        } catch (Exception e) {
            log.warn("资源路径中不存在authentication.properties权限文件,忽略读取!");
        }