DebugMotion 云控后台

Tweak_v9 专属卡密鉴权与动态策略分发系统

默认初试账号密码:admin / admin123
系统总览 / {{ currentTabName }}
月: {{ userQuotas.month || 0 }} | 天: {{ userQuotas.day || 0 }} | 年: {{ userQuotas.year || 0 }} API端口: 8080 | 服务运行中
卡密总数
{{ (stats.cards && stats.cards.total) || 0 }}
活跃: {{ (stats.cards && stats.cards.active) || 0 }} 库存: {{ (stats.cards && stats.cards.unused) || 0 }}
当前在线设备
{{ stats.online_sessions || 0 }}
近 1 小时内有效心跳设备
今日激活数
{{ stats.today_activations || 0 }}
今日新换绑/新激活凭证
风控设备数
{{ (stats.devices && stats.devices.blacklisted) || 0 }}
总建档设备: {{ (stats.devices && stats.devices.total) || 0 }}

快速批量制卡

{{ currentUserRole === 'agent' ? '使用账户配额自主生成卡密,可按需批量制卡并一键导出分发。' : '一键批量生成天卡、月卡或永久卡,支持分配归属经销商或超管自持。' }}

云控策略快速下发

当前云端模拟速度: {{ currentPolicy.speedMps }} m/s,步频: {{ currentPolicy.cadenceSpm }} spm,版本: v{{ currentPolicy.version }}

我的卡种库存总览 (日期独立库存)

天卡库存 (24h)
{{ userQuotas.day || 0 }}
周卡库存 (7天)
{{ userQuotas.week || 0 }}
月卡库存 (30天)
{{ userQuotas.month || 0 }}
季卡库存 (90天)
{{ userQuotas.quarter || 0 }}
年卡库存 (365天)
{{ userQuotas.year || 0 }}
永久卡库存 (99年)
{{ userQuotas.forever || 0 }}

实时客户端行为埋点

事件时间 功能模块 授权状态 原因码 设备指纹 客户端IP
{{ formatTime(ev.created_at) }} {{ ev.feature_id }} {{ ev.granted ? '已放行' : '被拦截' }} {{ ev.reason_code }} {{ shortHash(ev.device_id) }} {{ ev.client_ip }}
暂无埋点上报记录

经销商服务指引

欢迎使用 DebugMotion 经销商后台!在此界面您可以随时查看并导出自己名下生成的卡密,查看激活使用了您卡密的客户设备画像。若需充值或划拨制卡点数配额,请联系系统超级管理员进行配额充值。

卡密 类型 / 时长 状态 归属代理 绑定设备 到期时间 批次标签 操作
{{ c.card_key }} {{ formatCardType(c.card_type) }} ({{ c.duration_hours }}h) {{ statusLabel(c.status) }} {{ c.agent_username || '超管自持' }}
UDID {{ shortHash(c.bound_udid) }}
{{ shortHash(c.bound_device_id) }}
未绑定
{{ c.expires_at ? formatTime(c.expires_at) : '首次激活后开始计算' }} {{ c.batch_tag || '-' }}
未找到符合条件的卡密
共 {{ cardPagination.total }} 条数据,第 {{ cardPagination.page }} 页
共收集 {{ devicesList.length }} 台活跃用户设备准确画像
真实 UDID 设备名称 / 硬件机型 绑定卡密 序列号 (Serial) iOS 系统 / 宿主应用 最后 IP / 在线时间 状态 操作
{{ shortHash(d.udid) }}
{{ shortHash(d.device_id) }}
{{ d.device_name || 'iPhone' }}
{{ d.model_name || d.device_model || 'iPhone' }} ({{ d.device_model }})
{{ d.current_card_key }}
无活跃卡
{{ d.serial_number }}
-
iOS {{ d.os_version || '未知' }}
{{ d.bundle_id || 'com.alipay.iphoneclient' }}
{{ d.last_ip }}
{{ formatTime(d.last_active_at) }}
{{ d.is_blacklisted ? '已拉黑封禁' : '正常' }}
未检索到符合条件的用户设备画像

云控策略下发中心

控制客户端 `applyPolicy:` 实时行为。客户端心跳拉取到更高版本号时立即热更新。

当前策略版本号
v{{ policyForm.version }}
保存修改后版本自动自增
{{ policyForm.speedMps }} m/s
慢速散步 (1.2m/s) 标准快走 (3.5m/s) 跑步巡航 (8.0m/s) 极限车速 (25.0m/s)
{{ policyForm.cadenceSpm }} 步/分
💡 客户端逻辑说明:客户端默认采用本地持久化存储 (`NSUserDefaults`) 保存用户在 HUD 滑块调节的速度与步频,重启后依然保留;默认不再被云端速度强制覆盖。
云端模拟总开关 (simulationEnabled)
关闭后,全网客户端定位模拟将被强制禁止,即使已验证卡密也无法开启。
强制隐藏 NFC 开关 (nfcHidden)
开启后锁定客户端 NFC 模拟开关,不可在手机本地关闭。

客户端完整调用埋点轨迹

时间 功能特性 放行状态 原因码 设备 SHA256 客户端 IP
{{ formatTime(ev.created_at) }} {{ ev.feature_id }} {{ ev.granted ? '已放行' : '被拦截' }} {{ ev.reason_code }} {{ shortHash(ev.device_id) }} {{ ev.ip }}
暂无埋点调用记录

公告与卡网跳转配置

设置后立即同步到客户端 Tweak_v9.xm。用户打开弹窗或启动时即可见,点击卡网直达售卡网站。

当前公告版本号
v{{ noticeForm.version }}
每次保存版本号自增,可触发客户端重新弹窗

客户端在“卡密授权管理”弹窗中点击【🛒 购买卡密 / 跳转卡网】将直接在 Safari 中打开此链接。

显示卡网购买按钮 (Show Card Shop) {{ noticeForm.show_card_shop ? '开启显示' : '已隐藏' }}
关闭后,客户端卡密管理弹窗与公告弹窗中将彻底隐藏【🛒 购买卡密 / 跳转卡网】按钮。
强制弹窗提醒 (Force Pop)
开启后无论用户是否已阅读过此版本公告,打开 App 均强制弹出。
启用公告展示 (IsEnabled)
关闭后客户端将不弹出公告提示。
客户端授权弹窗实时效果预览
卡密授权管理
📢 {{ noticeForm.title }}
{{ noticeForm.content }}
状态: 未授权
到期: 未知
输入新卡密...
验证激活
复制设备码
购买卡密 / 跳转卡网
跳转: {{ noticeForm.card_shop_url || '未配置' }}
🚫 卡网按钮已在后台配置隐藏 (客户端不显示)
合作经销商数
{{ agentSummary.agent_count || 0 }}
拥有独立制卡配额账号
在库总配额 (Quota)
{{ agentSummary.total_quota || 0 }}
各经销商当前可用总点数
代理出卡总量
{{ agentSummary.total_cards || 0 }}
已由经销商消耗配额生成
代理激活客户量
{{ agentSummary.total_active_cards || 0 }}
实际绑定设备已激活数
账号信息 各卡种独立库存 名下制卡统计 账号状态 开户时间 操作
{{ ag.username }}
UID: {{ ag.id }}
天: {{ ag.quota_day || 0 }} 周: {{ ag.quota_week || 0 }} 月: {{ ag.quota_month || 0 }} 季: {{ ag.quota_quarter || 0 }} 年: {{ ag.quota_year || 0 }} 永久: {{ ag.quota_forever || 0 }}
总制卡: {{ ag.total_cards }}
活跃/库存: {{ ag.active_cards }} / {{ ag.unused_cards }}
{{ ag.status === 'active' ? '正常合作中' : '已暂停合作' }} {{ formatTime(ag.created_at) }}
暂无经销商记录,可点击右上角【开通新经销商】添加

批量生成卡密

当前【{{ formatCardType(genForm.card_type) }}】剩余库存: {{ userQuotas[genForm.card_type] || 0 }} 本次制卡将扣减: {{ genForm.count }}
【{{ formatCardType(genForm.card_type) }}】库存不足!当前仅剩 {{ userQuotas[genForm.card_type] || 0 }} 张,请减小制卡数量或联系超级管理员划拨库存。

手动卡密延期

正在延期卡号: {{ extendingCard ? extendingCard.card_key : '' }}

用户真实硬件画像详情

真实 UDID
{{ selectedDevice.udid || '未知' }}
硬件序列号 (Serial)
{{ selectedDevice.serial_number || '未知' }}
用户设备名称
{{ selectedDevice.device_name || 'iPhone' }}
精确型号名称
{{ selectedDevice.model_name || 'iPhone' }} ({{ selectedDevice.device_model }})
系统版本 (iOS)
iOS {{ selectedDevice.os_version || '未知' }}
宿主应用 (Bundle ID)
{{ selectedDevice.bundle_id || 'com.alipay.iphoneclient' }}
当前绑定卡密
{{ selectedDevice.current_card_key || '暂无绑定' }}
SHA256 复合设备指纹
{{ selectedDevice.device_id }}
最后活动 IP
{{ selectedDevice.last_ip }}
最后在线时间
{{ formatTime(selectedDevice.last_active_at) }}

开通新经销商账号

天卡 (24h)
周卡 (7天)
月卡 (30天)
季卡 (90天)
年卡 (365天)
永久卡 (99年)

各卡种库存独立核算,后续可在经销商列表中随时针对特定卡种进行充值或划拨。

划拨 / 充值独立库存

目标经销商: {{ selectedAgent.username }}
当前【{{ formatCardType(quotaForm.card_type) }}】剩余库存: {{ getAgentQuotaByType(selectedAgent, quotaForm.card_type) }}

重置经销商密码

正在为经销商 {{ selectedAgent.username }} 重置密码: