{% extends "admin_layout.html" %} {% block active_nav %}cards{% endblock %} {% block title %}卡密管理 · 管理后台{% endblock %} {% block content %}
未开通会员的机器/账号可在「设置 → 卡密购买激活」免费试用 {{ trial_cfg.days }} 天, 每台机器/账号3 个月可领取一次(服务器台账记录,重装/删数据不能重置)。试用不消耗卡密,到期后引导购买/激活。
每张卡密对应「有效天数」;用户激活后,有效期 = 当前有效期(未到期)向后顺延该天数。
{% if generated %}复制后可直接分发;卡密一经复制请妥善保管,泄露即可能被抢先激活。
| 卡密 | 来源 | 购买者 | 购买时间 | 激活时间 | 时长 | 状态 | 创建时间 | 绑定账号 | 绑定设备 | 到期时间 | 操作 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ c.code }} |
{% if c.batch == '线上购买' %}🛒 线上购买 {% else %}-{% endif %} | {{ c.buyer_display or '-' }} | {{ (c.paid_at or '').replace('T', ' ') or '-' }} | {{ (c.activated_at or '').replace('T', ' ') or '-' }} | {{ c.duration_days }} 天 | {% if c.expired %}已过期 {% elif c.status == 'unused' %}未使用 {% elif c.status == 'used' %} {% if c.bound_account or c.bound_machine %}已绑定 {% else %}已使用未绑定{% endif %} {% else %}已禁用{% endif %} | {{ (c.created_at or '')[:10] or '-' }} | {{ c.bound_account or '-' }} | {{ c.bound_machine or '-' }} | {{ (c.expires_at or '')[:10] or '-' }} | {% if c.status == 'unused' %} {% elif c.status == 'disabled' %} {% elif c.status == 'used' and (c.bound_account or c.bound_machine) %} {% if c.bound_account %} {% endif %} {% if c.bound_machine %} {% endif %} {% endif %} |
没有符合条件的卡密。
{% endif %}| 用户 / 机器 | 渠道 | 天数 | 领取时间 | 到期 | 状态 |
|---|---|---|---|---|---|
|
{% if e.username %}{{ e.username }}{% else %}{{ e.machine or '(未记录机器名)' }}{% endif %}
{% if not e.username %} {{ e.uid }}{% if e.machine_id %} · {{ e.machine_id[:12] }}{% endif %} {% endif %}
|
{{ e.source }} | {{ e.days }} | {{ e.started_at[:16] }} | {{ e.expires_at }} | {{ e.status }} |
暂无试用记录。
{% endif %}