fix: resolve all ESLint errors

- droidRelayService: add missing keyId variable declaration
- quotaCardService: use object destructuring for actualDeducted
- apiKeyService: remove unused variables and duplicate requires
- redis: remove shadowed logger/config requires
- unifiedGeminiScheduler: rename isActive param to avoid shadow
- commonHelper: add comments to empty catch blocks
- testPayloadHelper: prefix unused model param with underscore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
root
2026-01-22 15:14:22 +08:00
parent 24f825f60d
commit 83cbaf7c3e
7 changed files with 13 additions and 30 deletions

View File

@@ -508,7 +508,7 @@ class QuotaCardService {
redemptionData.apiKeyId,
parseFloat(redemptionData.quotaAdded)
)
actualDeducted = result.actualDeducted
;({ actualDeducted } = result)
}
// 注意:时间卡撤销比较复杂,这里简化处理,不回退时间