环境 | 默认值 | 描述 | 强制性的 |
---|---|---|---|
object_id |
NULL | 帐户链接或 UID | * |
provider |
NULL | 要购买的服务名称 | * |
servers |
NULL | 必须购买服务器 | * |
quantity |
NULL | 购买数量 | * |
note |
NULL | 订单备注 | |
reaction |
Like | Đối với tăng like có cảm xúc | |
time_view |
30 | Đối với view video | |
minute_view |
30 | Đối với mắt live stream |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tanglikegiare.top/zh/api/services/orders',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"object_id": "https://www.facebook.com/dvmxh.tinhr",
"provider": "facebook",
"note": null,
"servers": 14,
"quantity": 100
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "服务购买成功。",
"data": {
"transaction_code": "QTJZCKYH",
"provider": "facebook",
"object_id": "100069205102903",
"server": 14,
"quantity": "100",
"start_quantity": "",
"buffed_quantity": "0",
"price": "2.975",
"total_payment": "297.5",
"status": "pending",
"purchase_time": "2024-01-06T11:51:36.000000Z"
}
}
环境 | 描述 | 允许值 |
---|---|---|
transaction_code |
按交易代码过滤 | "6SWFYGOF" hoặc nhiều mã ["6SWFYGOF", "CIH4PBYR"] |
provider |
按供应商过滤 | 例如: facebook |
status |
按状态过滤 | pending, processing, in progress, completed, partial, canceled, refunded |
object_id |
按 ID 过滤 | 例如: 124124 |
limit |
限制返回记录 | 示例返回 5 条记录: 5 |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tanglikegiare.top/zh/api/services/orders/list',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"transaction_code": ["6SWFYGOF", "CIH4PBYR"],
"limit": 3
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "成功获取订单信息。",
"data": [
{
"transaction_code": "6SWFYGOF",
"server": 23,
"provider": "facebook",
"service_name": "增加点赞数",
"object_id": "6885866094478",
"quantity": "50",
"start_quantity": "",
"buffed_quantity": "0",
"note": null,
"price": "2.9",
"payment": "145",
"status": "pending",
"created_at": "2024-01-18T04:59:56.000000Z"
},
{
"transaction_code": "CIH4PBYR",
"server": 23,
"provider": "facebook",
"service_name": "增加点赞数",
"object_id": "6885866094478",
"quantity": "50",
"start_quantity": "",
"buffed_quantity": "0",
"note": null,
"price": "2.9",
"payment": "145",
"status": "pending",
"created_at": "2024-01-18T04:51:55.000000Z"
}
]
}
环境 | 描述 |
---|---|
provider |
按供应商过滤 |
status |
按状态过滤,0 隐藏,1 可见 |
limit |
限制返回记录 |
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tanglikegiare.top/zh/api/services/list',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS =>'{
"provider": "facebook",
"status": 1,
"limit": 3
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "成功收到服务价目表。",
"data": [
{
"server": 11,
"name": "带有 pro5 站点的 Buff sub",
"info": "Độc quyền toàn cầu",
"provider": "facebook",
"price": 2.26,
"min": "1000",
"max": "100000000",
"status": "1"
},
{
"server": 12,
"name": "增加点赞的成本并不高",
"info": "无阻塞,下载速度快",
"provider": "facebook",
"price": "5.2",
"min": "100",
"max": "500000",
"status": "1"
},
]
}
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://tanglikegiare.top/zh/api/user',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Authorization: Bearer api_token'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
{
"status": true,
"message": "帐户信息已成功检索。",
"data": {
"username": "admin",
"email": "[email protected]",
"money": "492362.5",
"point": "6710840"
}
}