opt: account

This commit is contained in:
My-Responsitories
2025-09-14 20:53:00 +08:00
parent 66752093e4
commit f48f90b253
4 changed files with 51 additions and 97 deletions

View File

@@ -118,7 +118,7 @@ class AccountManager extends Interceptor {
late final Account account = options.extra['account'] ?? _findAccount(path);
if (_skipCookie(path) || account is NoAccount) return handler.next(options);
if (account is NoAccount || _skipCookie(path)) return handler.next(options);
if (!account.isLogin && path == Api.heartBeat) {
return handler.reject(