白鸽 · 卡密验证

输入卡密 → 验证 → 本页面开启心跳;程序端接入说明在底部

程序端接入(白鸽 / ESP 客户端 · 上报手机型号 + SIM + 使用状态)
校验   POST /api/verify
{
  "card": "BG-XXXX",
  "device": {
    "id": "<设备ID: 同一设备固定值>",
    "model": "Pixel 8 / iPhone 15",   // Build.MODEL + Build.MANUFACTURER
    "operator": "中国移动",            // SIM 运营商
    "number": "138****1234",          // 可脱敏
    "imei": "86…", "iccid": "8986…"
  },
  "usage": { "state": "active", "modules": ["esp","aim"], "uptime_sec": 1200 }
}
→ 200 {"ok":true,"expires_at":"...","days_left":7,"heartbeat_sec":60,"device_bound":true}
   reason: not_found / banned / expired / exhausted / revoked / bound

心跳   POST /api/heartbeat   // 每 60s 一次,可携带最新 device/usage
→ {"ok":true,"next_in":60}  或 {"ok":false,"reason":"banned"} → 停止运行

快查   GET /api/status?card=BG-XXXX
→ {"active":true,"active_now":true,"last_hb_age_sec":42,"phone_info":"Pixel 8|中国移动|||…|138****1234|86…|8986…","usage":{...}}