mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-08 00:54:17 +00:00
feat(usage): 用户 API Key 用量页支持按日明细
This commit is contained in:
1 parent
7ec61eb2f5
commit
90b2b2a757
11 files changed
+738
-14
No files matched your search
@@ -122,19 +122,23 @@ export default {
|
||||
dateRangeToday: 'Today',
|
||||
dateRange7d: '7 Days',
|
||||
dateRange30d: '30 Days',
|
||||
dateRange90d: '90 Days',
|
||||
dateRangeCustom: 'Custom',
|
||||
apply: 'Apply',
|
||||
used: 'Used',
|
||||
detailInfo: 'Detail Information',
|
||||
tokenStats: 'Token Statistics',
|
||||
dailyDetail: 'Daily Detail',
|
||||
modelStats: 'Model Usage Statistics',
|
||||
// Table headers
|
||||
date: 'Date',
|
||||
model: 'Model',
|
||||
requests: 'Requests',
|
||||
inputTokens: 'Input Tokens',
|
||||
outputTokens: 'Output Tokens',
|
||||
cacheCreationTokens: 'Cache Creation',
|
||||
cacheReadTokens: 'Cache Read',
|
||||
cacheWriteTokens: 'Cache Write',
|
||||
totalTokens: 'Total Tokens',
|
||||
cost: 'Cost',
|
||||
// Status
|
||||
@@ -178,6 +182,7 @@ export default {
|
||||
querySuccess: 'Query successful',
|
||||
queryFailed: 'Query failed',
|
||||
queryFailedRetry: 'Query failed, please try again later',
|
||||
noDailyUsage: 'No daily usage data',
|
||||
},
|
||||
|
||||
// Setup Wizard
|
||||
@@ -4148,6 +4153,22 @@ export default {
|
||||
},
|
||||
userPrefix: 'User #{id}',
|
||||
exportCsv: 'Export CSV',
|
||||
batchUpdate: 'Batch Update',
|
||||
batchUpdateTitle: 'Batch Update Redeem Codes',
|
||||
selectedCount: '{count} redeem code(s) selected',
|
||||
clearSelection: 'Clear selection',
|
||||
selectCodesFirst: 'Select redeem codes first',
|
||||
noBatchFieldsSelected: 'Select at least one field to update',
|
||||
batchUpdateSuccess: 'Updated {count} redeem code(s)',
|
||||
failedToBatchUpdate: 'Failed to batch update redeem codes',
|
||||
batchFields: {
|
||||
status: 'Status',
|
||||
expiresAt: 'Expires At',
|
||||
notes: 'Notes',
|
||||
group: 'Group'
|
||||
},
|
||||
batchNotesPlaceholder: 'Enter the new note, or leave blank to clear it',
|
||||
clearGroup: 'Clear group',
|
||||
deleteAllUnused: 'Delete All Unused Codes',
|
||||
deleteCode: 'Delete Redeem Code',
|
||||
deleteCodeConfirm:
|
||||
|
||||
@@ -122,19 +122,23 @@ export default {
|
||||
dateRangeToday: '今日',
|
||||
dateRange7d: '7 天',
|
||||
dateRange30d: '30 天',
|
||||
dateRange90d: '90 天',
|
||||
dateRangeCustom: '自定义',
|
||||
apply: '应用',
|
||||
used: '已使用',
|
||||
detailInfo: '详细信息',
|
||||
tokenStats: 'Token 统计',
|
||||
dailyDetail: '按日明细',
|
||||
modelStats: '模型用量统计',
|
||||
// Table headers
|
||||
date: '日期',
|
||||
model: '模型',
|
||||
requests: '请求数',
|
||||
inputTokens: '输入 Tokens',
|
||||
outputTokens: '输出 Tokens',
|
||||
cacheCreationTokens: '缓存创建',
|
||||
cacheReadTokens: '缓存读取',
|
||||
cacheWriteTokens: '缓存写入',
|
||||
totalTokens: '总 Tokens',
|
||||
cost: '费用',
|
||||
// Status
|
||||
@@ -178,6 +182,7 @@ export default {
|
||||
querySuccess: '查询成功',
|
||||
queryFailed: '查询失败',
|
||||
queryFailedRetry: '查询失败,请稍后重试',
|
||||
noDailyUsage: '暂无按日用量数据',
|
||||
},
|
||||
|
||||
// Setup Wizard
|
||||
@@ -4282,6 +4287,22 @@ export default {
|
||||
used: '已使用',
|
||||
searchCodes: '搜索兑换码或邮箱...',
|
||||
exportCsv: '导出 CSV',
|
||||
batchUpdate: '批量修改',
|
||||
batchUpdateTitle: '批量修改兑换码',
|
||||
selectedCount: '已选择 {count} 个兑换码',
|
||||
clearSelection: '清空选择',
|
||||
selectCodesFirst: '请先选择兑换码',
|
||||
noBatchFieldsSelected: '请至少勾选一个要修改的字段',
|
||||
batchUpdateSuccess: '成功修改 {count} 个兑换码',
|
||||
failedToBatchUpdate: '批量修改兑换码失败',
|
||||
batchFields: {
|
||||
status: '状态',
|
||||
expiresAt: '过期时间',
|
||||
notes: '备注',
|
||||
group: '分组'
|
||||
},
|
||||
batchNotesPlaceholder: '输入新的备注,留空可清空备注',
|
||||
clearGroup: '清空分组',
|
||||
deleteAllUnused: '删除全部未使用',
|
||||
deleteCodeConfirm: '确定要删除此兑换码吗?此操作无法撤销。',
|
||||
deleteAllUnusedConfirm: '确定要删除全部未使用的兑换码吗?此操作无法撤销。',
|
||||
|
||||
Reference in new issue
Block a user