管理您的异步任务
| 功能 | 消耗次数 | 成功率 |
|---|---|---|
| {{ it.feature_name || ('ID:' + it.feature_id) }} | {{ it.consume_count || 0 }} | {{ Number(it.success_rate || 0).toFixed(1) }}% |
| 暂无数据 | ||
| API | 调用次数 | 消耗点数 | 成功率 |
|---|---|---|---|
| {{ it.api_name || '-' }} | {{ it.consume_count || 0 }} | {{ it.consumed_points || 0 }} | {{ Number(it.success_rate || 0).toFixed(1) }}% |
| 暂无数据 | |||
| 时间 | 点数 | 类型 | 备注 |
|---|---|---|---|
| {{ formatDate(it.created_at) }} | {{ it.points || 0 }} | {{ it.type || '-' }} | {{ it.note || '-' }} |
| 暂无数据 | |||
{{ (rechargeInfo && rechargeInfo.content) ? rechargeInfo.content : '' }}
以下接口需要登录或提供 X-API-Key(也可用 ?api_key=)。
| key | label | type | required | example |
|---|---|---|---|---|
| {{ it.key }} | {{ it.label || '-' }} | {{ it.type || '-' }} | {{ it.required ? '是' : '否' }} | {{ (it.example === undefined || it.example === null || String(it.example) === '') ? '-' : String(it.example) }} |
X-API-Key(建议){{ buildApiCurlExample(selectedApiFeature) }}
| key | label | type | required | example |
|---|---|---|---|---|
| {{ it.key }} | {{ it.label || '-' }} | {{ it.type || '-' }} | {{ it.required ? '是' : '否' }} | {{ (it.example === undefined || it.example === null || String(it.example) === '') ? '-' : String(it.example) }} |
X-API-Key(建议){{ buildCustomApiCurlExample(selectedCustomAPI) }}
| 时间 | 规则 | 请求 | 消耗点数 | 状态码 | 耗时 | 来源IP | 操作 | |
|---|---|---|---|---|---|---|---|---|
| {{ formatDate(it.created_at) }} | {{ it.rule_name || '-' }} | {{ (it.method || '').toUpperCase() }} {{ it.path || '-' }} | {{ it.consume_points || 0 }} | {{ it.status_code || 0 }} | {{ formatDurationMs(it.duration) }} | {{ it.remote_addr || '-' }} | ||
| 暂无记录 | ||||||||
{{ apiLogDetail.raw_query || '-' }}
{{ apiLogDetail.request_body || '-' }}
{{ apiLogDetail.response_body || '-' }}
{{ apiLogDetail.error || '-' }}
| 序号{{ taskSortIndicator('seq') }} | 任务 ID | 名称{{ taskSortIndicator('name') }} | 分类{{ taskSortIndicator('category') }} | 功能名称 | 状态{{ taskSortIndicator('status') }} | 重试次数{{ taskSortIndicator('retry_count') }} | 运行时间 | 创建时间{{ taskSortIndicator('created_at') }} | 更新时间{{ taskSortIndicator('updated_at') }} | 操作 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ getTaskSeq(task, idx) }} | {{ task.id }} | {{ task.name || '-' }} | {{ task.category || '-' }} | {{ task.feature_name || getFeatureNameByRuleId(task.rule_id) }} | {{ statusText(task.status) }} | {{ task.retry_count }} | {{ formatTaskDuration(task) }} | {{ formatDate(task.created_at) }} | {{ formatDate(task.updated_at) }} | ||
| 暂无任务 | |||||||||||
| 时间 | 操作类型 | 关联业务 | 备注 | IP |
|---|---|---|---|---|
| {{ formatDate(it.created_at) }} | {{ it.action }} | {{ it.ref_type }} / {{ it.ref_id }} | {{ it.note || '-' }} | {{ it.ip || '-' }} |
| 暂无记录 | ||||
{{ (rechargeInfo && rechargeInfo.content) ? rechargeInfo.content : '' }}
| 时间 | 消耗点数 | 剩余点数 | 操作类型 | 关联业务 | 备注 |
|---|---|---|---|---|---|
| {{ formatDate(it.created_at) }} | {{ it.delta }} | {{ it.balance_after }} | {{ it.type }} | {{ it.ref_type }} / {{ it.ref_id }} | {{ it.note || '-' }} |
| 暂无记录 | |||||
| 名称 | 渠道 | 状态 | URL | 操作 |
|---|---|---|---|---|
| {{ w.name }} | {{ w.provider }} | {{ w.enabled ? '启用' : '禁用' }} | {{ w.webhook_url }} | |
| 暂无配置 | ||||
{{ prettyJSON(currentTask.payload) }}
{{ prettyJSON(currentTask.headers) }}
{{ prettyJSON(currentTask.response) }}
{{ currentTask.error }}
{{ prettyJSON(it.response) }}