既然加入了依赖肯定是需要读取配置的, 这个属性检查就去掉吧

This commit is contained in:
hjc
2023-06-27 20:45:12 +08:00
parent 5a6e8bd463
commit 1f5798176d

View File

@@ -74,10 +74,6 @@ public class SaAloneRedisInject implements EnvironmentAware{
if(saTokenDao == null || saTokenDao instanceof SaTokenDaoDefaultImpl) {
return;
}
// 如果配置文件不包含相关配置,则不进行任何操作
if(environment.getProperty(ALONE_PREFIX + ".host") == null) {
return;
}
// ------------------- 开始注入