修正表结构
This commit is contained in:
@@ -134,7 +134,7 @@ namespace DOAN.Common
|
||||
|
||||
//.net7需要这样写
|
||||
var coherentState = Cache.GetType().GetField("_coherentState", flags).GetValue(Cache);
|
||||
var entries = coherentState.GetType().GetField("_entries", flags).GetValue(coherentState);
|
||||
var entries = coherentState.GetType()?.GetField("_entries", flags)?.GetValue(coherentState);
|
||||
|
||||
var keys = new List<string>();
|
||||
if (entries is not IDictionary cacheItems) return keys;
|
||||
|
||||
Reference in New Issue
Block a user