mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 18:37:46 +08:00
feat(ccswitch): 添加一键导入和用量查询
This commit is contained in:
@@ -1423,6 +1423,11 @@ impl UsageReadRepository for InMemoryUsageReadRepository {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if let Some(api_key_id) = query.api_key_id.as_deref() {
|
||||
if item.api_key_id.as_deref() != Some(api_key_id) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if item.billing_status != "settled" || item.total_cost_usd <= 0.0 {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user