feat: 重构会话管理与提醒通知系统

This commit is contained in:
qzl
2026-03-31 18:26:36 +08:00
parent a8c262e9c7
commit 9a231dae9e
31 changed files with 650 additions and 223 deletions
+3 -2
View File
@@ -222,8 +222,9 @@ class CacheInvalidator {
void invalidate(String key) {
final store = _store;
if (store != null) {
unawaited(store.remove(CacheScope.scopedKey(key)));
final scope = CacheScope.maybeToken();
if (store != null && scope != null) {
unawaited(store.remove(CacheScope.scopedKey(key, scopeToken: scope)));
}
}