FeyaGate

飞阳网关 · 管理后台

{{ error }}

输入您的注册邮箱,我们将发送密码重置链接。

{{ resetMsg }}

{{ error }}

请输入您的新密码。

{{ resetMsg }}

{{ error }}

仪表盘

{{ s.label }}

{{ stats[s.key] || 0 }}

今日动态

{{ m.label }}

{{ analyticsSummary.comparison.today[m.key] }}

{{ deltaText(analyticsSummary.comparison.today[m.key], analyticsSummary.comparison.yesterday[m.key]) }}

近 7 天趋势

数据分析

用户增长 & 登录

设备激活 & 授权分配

VIP 销售 & 邀请码使用

登录时段分布(近 7 天)

渠道授权 TOP 5

{{ ch.channel_name }}
{{ ch.activated }}/{{ ch.total }}

暂无数据

产品授权 TOP 5

{{ p.product_name }}
{{ p.activated }}/{{ p.total }}

暂无数据

用户管理

ID昵称邮箱 角色渠道状态注册时间操作
{{ u.id }} {{ u.nickname || '-' }} {{ u.email || '-' }} {{ u.status }} {{ fmtDate(u.created_at) }}
共 {{ userPaged.total }} 条
{{ userPage }} / {{ userPaged.total_pages }}

邀请码管理

邀请码状态使用次数 备注过期时间操作
{{ c.code }} {{ codeStatusLabel(c.status) }} {{ c.used_count }} / {{ c.max_uses }} {{ c.note || '-' }} {{ c.expires_at ? fmtDate(c.expires_at) : '永久' }}
共 {{ codePaged.total }} 条
{{ codePage }} / {{ codePaged.total_pages }}

批量生成邀请码

邀请码申请

ID邮箱申请理由 状态申请时间操作
{{ a.id }} {{ a.email }} {{ a.reason || '-' }} {{ appStatusLabel(a.status) }} {{ fmtDate(a.created_at) }} {{ a.admin_note || '-' }}
共 {{ appPaged.total }} 条
{{ appPage }} / {{ appPaged.total_pages }}

产品管理

编码名称描述 状态操作
{{ p.code }} {{ p.name }} {{ p.description || '-' }} {{ licenseProductStatusLabel(p.status) }}
暂无产品

{{ licenseProductForm.id ? '编辑产品' : '新增产品' }}

设备授权总览

产品 {{ ch.name }}
{{ row.product.name }}
{{ row.product.code }}
配额 {{ cell.quota > 0 ? cell.quota : '未配置' }}
已分配 {{ cell.allocated ?? 0 }}
已激活 {{ cell.activated ?? 0 }}
激活率 {{ licenseDashRate(cell) }}
暂无数据

授权码批次

批次号产品渠道 数量创建时间
{{ b.batch_no }} {{ b.product_name || b.product_code || '-' }} {{ b.channel_name || '-' }} {{ b.quantity }} {{ fmtDate(b.created_at) }}
暂无批次
共 {{ licBatchPaged.total }} 条
{{ licBatchPage }} / {{ licBatchPaged.total_pages }}

生成授权码批次

当前筛选批次:{{ licKeyBatchNo }}

授权码明细

授权码产品渠道 批次状态设备 ID 设备 IP固件激活时间操作
{{ k.code }} {{ k.product_name || k.product_code || '-' }} {{ k.channel_name || '-' }} {{ k.batch_no || '-' }} {{ licKeyStatusLabel(k.status) }} {{ k.device_id || '-' }} {{ k.device_ip || '-' }} {{ k.fw_version || '-' }} {{ k.activated_at ? fmtDate(k.activated_at) : '-' }}
暂无记录
共 {{ licKeyPaged.total }} 条
{{ licKeyPage }} / {{ licKeyPaged.total_pages }}

渠道配额管理

产品当前配额已用数量调整配额
{{ r.product_name || r.product_code }} {{ r.quota > 0 ? r.quota : '未配置' }} {{ r.used_count ?? r.used ?? 0 }}
该渠道暂无配额数据

请先选择渠道以查看与编辑各产品配额。

绑定渠道角色

将用户与渠道关联,便于渠道侧管理与发码权限(具体权限以后端为准)。

配额充值 / 扣减

配额调整流水

ID 渠道 产品 原配额 调整 新配额 原因 关联单号 操作人 时间
{{ e.id }} {{ e.channel_name }} {{ e.product_name }} {{ e.old_quota }} {{ e.delta>0?'+':'' }}{{ e.delta }} {{ e.new_quota }} {{ e.reason }} {{ e.order_ref || '-' }} {{ e.creator_name }} {{ new Date(e.created_at).toLocaleString('zh-CN') }}
暂无调整记录
共 {{ quotaLedgerPaged.total }} 条
{{ quotaLedgerPage }}

渠道管理

渠道名联系人状态 发码总量已激活金额(元)操作
{{ ch.name }} {{ ch.contact || '-' }} {{ ch.status==='active'?'活跃':'停用' }} {{ ch.total_codes || 0 }} {{ ch.used_codes || 0 }} {{ ((ch.total_amount || 0)/100).toFixed(2) }}
暂无渠道

{{ channelForm.id ? '编辑渠道' : '新建渠道' }}

销售记录

时间用户套餐 来源激活码/备注金额(元)
{{ fmtDate(s.created_at) }}
{{ s.user_nickname || '-' }}
{{ s.user_email }}
{{ s.plan_name }} {{ sourceLabel(s.source) }} {{ s.source_ref || '-' }} {{ s.price_cents ? (s.price_cents/100).toFixed(2) : '0.00' }}
暂无记录
共 {{ salesPaged.total }} 条
{{ salesPage }} / {{ salesPaged.total_pages }}

网关绑定

网关 SN名称类型 用户绑定时间
{{ g.gateway_sn }} {{ g.name || '-' }} {{ g.gateway_type==='physical'?'物理':'虚拟' }}
{{ g.user_nickname || '-' }}
{{ g.user_email }}
{{ fmtDate(g.bound_at) }}
暂无绑定
共 {{ gatewayPaged.total }} 条
{{ gatewayPage }} / {{ gatewayPaged.total_pages }}

平台配置

需要邀请码

注册时是否必须输入邀请码

允许注册

是否开放用户注册

操作日志

时间操作者操作 详情IP
{{ fmtDate(l.created_at) }} {{ l.user_email || 'ID:'+l.user_id }} {{ logActionLabel(l.action) }} {{ l.detail }} {{ l.ip }}
暂无日志
共 {{ logPaged.total }} 条
{{ logPage }} / {{ logPaged.total_pages }}

数据概览

总配额

{{ chDash.summary.total_quota }}

剩余可分配 {{ chDash.summary.quota_remaining }}

已分配

{{ chDash.summary.total_allocated }}

含未激活设备

已激活

{{ chDash.summary.total_activated }}

今日 +{{ chDash.summary.today_activated }}

激活率

{{ chDash.summary.activation_rate.toFixed(1) }}%

已激活 / 已分配

各产品统计

产品 配额 未使用 已分配 已激活 激活率 用量
{{ p.product_name || p.product_code }} {{ p.quota }} {{ p.unused }} {{ p.allocated }} {{ p.activated }} {{ p.allocated+p.activated>0?((p.activated/(p.allocated+p.activated)*100).toFixed(1)+'%'):'-' }}

{{ p.allocated+p.activated }} / {{ p.quota }}

暂无产品数据

最近激活设备

授权码 产品 设备 MAC 固件版本 激活时间
{{ d.code }} {{ d.product_name || '-' }} {{ d.device_id || '-' }} {{ d.fw_version || '-' }} {{ d.activated_at ? fmtDate(d.activated_at) : '-' }}
暂无激活记录

加载中...

我的授权码

已选 {{ selectedKeyIds.length }} 项
授权码产品状态 设备激活时间 操作
{{ k.code }} {{ k.product_name || k.product_code }} {{ {unused:'未使用',allocated:'已分配',activated:'已激活',revoked:'已吊销'}[k.status]||k.status }} {{ k.device_id || '-' }} {{ k.activated_at ? fmtDate(k.activated_at) : '-' }}
暂无授权码
共 {{ myKeysPaged.total }} 条
{{ myKeysPage }} / {{ myKeysPaged.total_pages }}

操作记录

时间 操作 授权码 产品 设备 详情
{{ fmtDate(l.created_at) }} {{ logActionTagLabel(l.action) }} {{ l.license_code || '-' }} {{ l.product_name || '-' }} {{ l.device_id || '-' }} {{ l.detail }}
暂无操作记录
共 {{ myLogsPaged.total }} 条
{{ myLogPage }} / {{ myLogsPaged.total_pages }}

我的配额

产品配额已用剩余
{{ q.product_name || q.product_code }} {{ q.quota || '未配置' }} {{ q.used }} {{ q.quota ? q.quota - q.used : '-' }}
暂无配额数据

配额流水

时间产品调整新配额原因
{{ fmtDate(e.created_at) }} {{ e.product_name || e.product_code }} {{ e.delta>0?'+':'' }}{{ e.delta }} {{ e.new_quota }} {{ e.reason || '-' }}
暂无流水记录

技能管理

ID名称分类 状态版本下载量 更新时间操作
{{ s.id }} {{ s.name }} {{ skillCategoryLabel(s.category) }} {{ skillStatusLabel(s.status) }} v{{ s.version }} {{ s.download_count }} {{ fmtDate(s.updated_at) }}
暂无技能

{{ skillEditMode==='create'?'新建技能':'编辑技能' }}

🔒

权限不足

当前账号无管理后台访问权限,请联系管理员。

{{ toast.msg }}