fix(redis): 修复 Redis 流读取兼容性问题

- 支持 bytes 和 str 类型的 entry_id
- 支持 list 类型响应格式
- 优化 payload 解码处理
This commit is contained in:
qzl
2026-03-11 21:33:25 +08:00
parent e4f69a64bd
commit 18db6c50e7
17 changed files with 359 additions and 54 deletions
+5
View File
@@ -72,6 +72,11 @@ Future<void> configureDependencies() async {
final authRepository = AuthRepositoryImpl(
api: authApi,
tokenStorage: tokenStorage,
onLogout: Env.isMockApi
? null
: () async {
(apiClient as ApiClient).resetInterceptor();
},
);
sl.registerSingleton<AuthRepository>(authRepository);