fix: 修复无法获取分组账号问题

This commit is contained in:
mouyong
2025-08-05 19:39:53 +08:00
parent b1ae726774
commit ca4099d23f

View File

@@ -425,7 +425,7 @@ class UnifiedClaudeScheduler {
if (group.platform === 'claude') {
// 先尝试官方账户
account = await redis.getClaudeAccount(memberId);
if (account) {
if (account?.id) {
accountType = 'claude-official';
} else {
// 尝试Console账户