安全 · 高效 · 可靠 - 您的最佳选择
输入卡密即可查询其状态和详细信息
快速验证卡密有效性,查询卡密使用状态
邮箱验证机制,确保账户安全,保护您的权益
支持多种登录方式,记住密码更便捷
简单易用的RESTful API,支持多种编程语言调用
https://你的域名/api/verify.php
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
api_key |
String | 是 | 您的API密钥 |
card_key |
String | 是 | 要验证的卡密 |
{
"success": true,
"message": "验证成功!",
"data": {
"card_type": "year",
"duration": 365,
"used_at": "2024-10-24 20:19:47",
"expire_at": "2025-10-24 20:19:47",
"remark": "年卡"
}
}
<?php
$api_url = "https://你的域名/api/verify.php";
$data = [
"api_key" => "你的API密钥",
"card_key" => "要验证的卡密"
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
if ($result['success']) {
echo "验证成功!\n";
echo "卡密类型: " . $result['data']['card_type'] . "\n";
echo "有效期: " . $result['data']['duration'] . "天\n";
echo "到期时间: " . $result['data']['expire_at'] . "\n";
} else {
echo "验证失败: " . $result['message'] . "\n";
}
?>
采用银行级加密技术,数据安全有保障
毫秒级验证速度,无需等待即刻使用
详细的使用记录,让数据一目了然
7×24小时技术支持,随时为您服务