update 去除了开发模式下的缓存

This commit is contained in:
2021-05-26 17:27:31 +08:00
parent c833d4a1f4
commit 249007c237
6 changed files with 32 additions and 1 deletions

View File

@@ -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;
}