Compare commits

...
1 Commits
Author SHA1 Message Date
xrain 162b92a415 增加了cache.Remove 2026-04-26 01:23:14 +08:00
+5
View File
@@ -19,6 +19,11 @@ public class SimApiCache(IDistributedCache cache)
} }
} }
public void Remove(string key)
{
cache.Remove(Prefix + key);
}
public string? Get(string key) public string? Get(string key)
{ {
return cache.GetString(Prefix + key); return cache.GetString(Prefix + key);