高效管理您的异步任务与 API 请求
| 功能 | 消耗次数 | 成功率 |
|---|---|---|
| {{ 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=)。
请先打开下方授权链接登录并生成令牌,再把配置贴进客户端。也可在支持自动 OAuth 的客户端里点「连接」跳转同一套授权。
Authorization: Bearer <API Key> 连接。| 客户端 | 令牌 | 授权时间 | 过期 | 操作 |
|---|---|---|---|---|
|
{{ conn.client_name || conn.client_id }}
{{ conn.client_id }}
|
{{ conn.token_hint }} | {{ formatMcpTime(conn.created_at) }} | {{ formatMcpTime(conn.expires_at) }} |
{{ block.body }}
| 工具名 | 对应 API | 说明 |
|---|---|---|
| {{ t.name }} | {{ t.api_path }} | {{ t.description }} |
| 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(建议){{ buildApiLanguageExample(selectedApiFeature, apiExampleLang) }}
| 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(建议){{ buildCustomApiLanguageExample(selectedCustomAPI, apiExampleLang) }}
| 时间 | 规则 | 请求 | 消耗点数 | 状态码 | 耗时 | 来源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 }} | |
| 暂无配置 | ||||
粘贴一段 JSON(对象),系统会按下方功能配置的字段名匹配:
· 字段名匹配 → 赋值;· 字段名不存在 → 忽略。
支持的功能字段:{{ (selectedFeatureFields || []).map(f => f.key).join(', ') }}
{{ prettyJSON(currentTask.payload) }}
{{ prettyJSON(currentTask.headers) }}
{{ prettyJSON(currentTask.response) }}
{{ currentTask.error }}
{{ prettyJSON(it.response) }}