update 去除了开发模式下的缓存
This commit is contained in:
@@ -395,7 +395,10 @@ namespace Ewide.Core.Service
|
||||
|
||||
dataScopes = userDataScopeIdListForUser.Concat(userDataScopeIdListForRole).Distinct().ToList(); // 并集
|
||||
|
||||
#if DEBUG
|
||||
#else
|
||||
await _sysCacheService.SetDataScope(userId, dataScopes); // 缓存结果
|
||||
#endif
|
||||
}
|
||||
return dataScopes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user