mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-11-24 08:33:04 +08:00
既然加入了依赖肯定是需要读取配置的, 这个属性检查就去掉吧
This commit is contained in:
@@ -74,10 +74,6 @@ public class SaAloneRedisInject implements EnvironmentAware{
|
||||
if(saTokenDao == null || saTokenDao instanceof SaTokenDaoDefaultImpl) {
|
||||
return;
|
||||
}
|
||||
// 如果配置文件不包含相关配置,则不进行任何操作
|
||||
if(environment.getProperty(ALONE_PREFIX + ".host") == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// ------------------- 开始注入
|
||||
|
||||
|
||||
Reference in New Issue
Block a user