{{ currentMenu.name }}

{{ currentMenu.desc }}

{{ error }}
AI SERVICE OVERVIEW

OneDesk AI 运行概览

聚合用户、订单、算力与多平台 AI 回复数据,快速判断服务是否稳定。

AI发送成功率 {{ dashboardTotals.successRate }}% 生成 {{ dashboardTotals.aiGenerated }} / 成功 {{ dashboardTotals.sendSuccess }}
接收消息 {{ dashboardTotals.received }} 今日 {{ dashboardToday.receivedCount || 0 }}
AI 生成 {{ dashboardTotals.aiGenerated }} 今日 {{ dashboardToday.aiGeneratedCount || 0 }}
发送成功 {{ dashboardTotals.sendSuccess }} 回复率 {{ dashboardTotals.replyRate }}%
发送失败 {{ dashboardTotals.sendFailed }} 今日 {{ dashboardToday.sendFailedCount || 0 }}
用户数 {{ summary.users || 0 }} 活跃店铺 {{ dashboardTotals.activeShops }}
订单数 {{ summary.orders || 0 }} 待支付 {{ dashboardOrderStats.pending }} / 已支付 {{ dashboardOrderStats.paid }}
已支付金额 {{ money(summary.paidAmountCents || 0) }} 待审核提现 {{ summary.pendingWithdrawals || 0 }}
剩余算力 {{ formatTokens(dashboardTotals.tokenRemaining) }} 已消耗 {{ formatTokens(dashboardTotals.tokenUsed) }}

近 {{ shopStatsDays }} 天 AI 回复走势

蓝色为接收消息,绿色为发送成功,红色为发送失败。

{{ row.statDate }}
{{ row.receivedCount || 0 }} / {{ row.sendSuccessCount || row.repliedCount || 0 }} / {{ row.sendFailedCount || 0 }}

暂无统计数据

AI 回复漏斗

用于判断是 AI 未生成,还是页面发送失败。

接收消息{{ dashboardTotals.received }}
AI 生成{{ dashboardTotals.aiGenerated }}
发送成功{{ dashboardTotals.sendSuccess }}
发送失败{{ dashboardTotals.sendFailed }}

平台分布

按平台聚合接收和成功回复。

{{ platformName(row.platform) }}
{{ row.sendSuccessCount }} 收 {{ row.receivedCount }} / 失败 {{ row.sendFailedCount }}

暂无平台统计

活跃店铺 Top 5

按发送成功数排序。

{{ index + 1 }}
{{ shop.shopName || '-' }} {{ shop.account || '-' }} · {{ platformName(shop.platform) }}
{{ shop.sendSuccessCount || shop.repliedCount || 0 }}

暂无活跃店铺

低算力用户

便于及时跟进续费和充值。

{{ user.account }} {{ user.membership?.memberName || '-' }}
{{ formatTokens(user.membership?.tokenRemaining || 0) }}

暂无用户数据

创建用户

账号 手机号 角色 会员 剩余算力 邀请码 成功邀请 累计收益 可用余额 状态 在线状态 当前设备 最近心跳 登录时间 退出时间 最近登录 IP 设备 IP 设备名称 设备指纹 创建时间 操作
{{ user.account }} {{ user.phone || '-' }} {{ user.role }} {{ user.membership?.memberName || '-' }} {{ user.membership?.tokenRemaining ?? '-' }} {{ user.inviteCode || '-' }} {{ user.referral?.invitedCount || 0 }} {{ money(user.referral?.totalRewardCents || 0) }} {{ money(user.referral?.availableBalanceCents || 0) }} {{ userStatus(user) }} {{ presenceText(user) }} {{ activeSessionDevice(user) }} {{ time(user.activeSession?.lastSeenAt || user.lastPresenceAt) }} {{ time(user.lastLoginAt) }} {{ time(user.lastLogoutAt || user.lastOfflineAt) }} {{ user.lastClientIp || user.lastLoginIp || '-' }} {{ user.lastDeviceIp || '-' }} {{ user.lastDeviceMachineName || '-' }} {{ shortText(user.lastDeviceFingerprint, 18) }} {{ time(user.createdAt) }}

IP 黑名单

IP 备注 状态 更新时间 操作
{{ item.ip }} {{ item.remark || '-' }} {{ item.enabled ? '拦截中' : '已停用' }} {{ time(item.updatedAt || item.createdAt) }}

会员套餐配置

后台维护套餐价格、启用状态和权益限制;客户端会根据服务端下发权益进行校验。

套餐 赠送算力 周期 价格(分) 店铺数 商品学习数 图片识别 掉线提醒 自动登录 启用
{{ plan.name }} {{ formatTokens(plan.tokens) }} {{ plan.period === 'month' ? '月付' : '年付' }}

算力购买配置

对应客户端 AI 算力购买弹窗;订单管理中可创建“算力购买”订单。

算力包 算力 服务说明 单价说明 价格(分) 启用
{{ item.name }} {{ item.isCustom ? '定制' : formatTokens(item.tokens) }} {{ item.support || '-' }} {{ item.unitPrice || '-' }}
订单号 账号 类型 套餐 金额 渠道 状态 时间 操作
{{ order.id }} {{ order.account || '-' }} {{ order.orderTypeName || '-' }} {{ order.planName }} {{ money(order.amountCents) }} {{ channelName(order.payChannel) }} {{ statusName(order.status) }} {{ time(order.createdAt) }}
接收消息{{ shopStats.totals?.receivedCount || 0 }}
AI 生成{{ shopStats.totals?.aiGeneratedCount || 0 }}
发送成功{{ shopStats.totals?.sendSuccessCount || shopStats.totals?.repliedCount || 0 }}
发送失败{{ shopStats.totals?.sendFailedCount || 0 }}
成功率{{ shopStats.totals?.aiGeneratedCount ? Math.round((shopStats.totals.sendSuccessCount || shopStats.totals.repliedCount || 0) * 100 / shopStats.totals.aiGeneratedCount) : 0 }}%

走势

{{ row.statDate }}
收 {{ row.receivedCount || 0 }} / 生成 {{ row.aiGeneratedCount || 0 }} / 成功 {{ row.sendSuccessCount || row.repliedCount || 0 }} / 失败 {{ row.sendFailedCount || 0 }}

暂无统计数据

账号 平台 店铺 客服账号 接收消息 AI 生成 发送成功 发送失败 状态 最后活跃
{{ shop.account || '-' }} {{ platformName(shop.platform) }} {{ shop.shopName || '-' }} {{ shop.accountName || '-' }} {{ shop.receivedCount || 0 }} {{ shop.aiGeneratedCount || 0 }} {{ shop.sendSuccessCount || shop.repliedCount || 0 }} {{ shop.sendFailedCount || 0 }} {{ shop.loginStatus > 0 ? '已登录' : '未登录' }} {{ time(shop.lastActiveAt) }}
暂无店铺统计
申请编号 账号 手机号 收款微信 提现金额 状态 申请时间 审核时间 操作
{{ item.id }} {{ item.account || '-' }} {{ item.phone || '-' }} {{ item.wechatAccount || '-' }} {{ money(item.amountCents) }} {{ withdrawStatusName(item.status) }} {{ time(item.createdAt) }} {{ time(item.auditedAt) }}
暂无提现申请

当前密钥:{{ modelForm.keyPreview || '已加密保存' }}

模型列表

{{ model.name || model.model }} {{ model.provider }} / {{ model.model }} {{ model.hasApiKey ? ('已配置 Key:' + (model.keyPreview || '已加密保存')) : '未配置 Key' }}

AI 请求测试

AI 回复

{{ aiTest.result.reply }}

{{ aiTest.result.provider || '-' }} / {{ aiTest.result.model || '-' }} / {{ aiTest.result.elapsedMs || 0 }} ms / {{ aiTest.result.tokenCost || 0 }} tokens

上传安装包

应用 版本号 标题 上传/修改时间 状态 大小 下载地址 操作
{{ installer.appId }} {{ installer.version }} {{ installer.title || installer.originalName }} {{ time(installer.updatedAt || installer.uploadedAt) }} {{ installer.enabled === false ? '停用' : '启用' }} {{ formatSize(installer.size) }} {{ installer.fileName }}
暂无安装包

上传版本包

应用 版本号 上传/修改时间 强制更新 状态 大小 下载地址 操作
{{ version.appId }} {{ version.version }} {{ time(version.updatedAt || version.uploadedAt) }} {{ version.forceUpdate ? '是' : '否' }} {{ version.enabled === false ? '停用' : '启用' }} {{ formatSize(version.size) }} {{ version.fileName }}
暂无版本包

审计日志

记录登录注册、后台修改、上传、审核、订单状态变更和异常请求,便于排查风险操作。

时间 操作人 方法 接口 IP 状态 错误码 错误信息
{{ time(log.createdAt) }} {{ auditActorName(log) }} {{ log.method || '-' }} {{ log.path || '-' }} {{ log.ip || '-' }} {{ auditStatusName(log) }} {{ log.errorCode || '-' }} {{ shortText(log.errorMessage, 48) }}
暂无审计日志