全部
淘宝客
在线测试

话费优惠佣金


接口地址: http://api.vv-tool.com/tool/waimai/ph_discounts


接口介绍: 支持全国移动,联通,电信话费充值,该充值渠道是【慢充通道 24-72 小时到账】,100 元话费最高减 8 元,充值 100 元话费只需要付 92 元,再返 1% 佣金,引流拓客最佳选择,点击查看详情


请求方式: GET


返回格式: JSON


接口收费: 联系客服


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
sid string 自定义参数跟单

请求示例

sid:123456

请求代码示例

cURL请求代码示例
curl --location --request GET 'http://api.vv-tool.com/tool/waimai/ph_discounts' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: PHPSESSID=mlrg52hblelto9ekbkg4bu9e3g; _csrf=6b534ab0625165d3fbecd264c5c5a7f65b6978f8df475ac9cb24f021bbc7647da%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22K-aT3xz_fPoFcWpVmnHCt8wKSw4_q-Z-%22%3B%7D' \
--data-urlencode 'sid=123456'
PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/waimai/ph_discounts',
  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 => 'sid=123456',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx',
    'Content-Type: application/x-www-form-urlencoded',
    'Cookie: PHPSESSID=mlrg52hblelto9ekbkg4bu9e3g; _csrf=6b534ab0625165d3fbecd264c5c5a7f65b6978f8df475ac9cb24f021bbc7647da%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22K-aT3xz_fPoFcWpVmnHCt8wKSw4_q-Z-%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/waimai/ph_discounts")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
  .addHeader("Content-Type", "application/x-www-form-urlencoded")
  .addHeader("Cookie", "PHPSESSID=mlrg52hblelto9ekbkg4bu9e3g; _csrf=6b534ab0625165d3fbecd264c5c5a7f65b6978f8df475ac9cb24f021bbc7647da%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22K-aT3xz_fPoFcWpVmnHCt8wKSw4_q-Z-%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 错误码 0 为成功
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
mobile_url string 频道推广唤醒拼多多 APP 长链接
mobile_short_url string 频道推广唤醒拼多多 APP 短链接
url string 频道推广长链接
short_url string 频道推广短链接
we_app_info object 小程序信息
L app_id string 小程序 ID
L page_path string 小程序路径

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 558,
    "time": 1612403448,
    "data": {
       "single_url_list":{
         "we_app_page_path": "/pages/web/web?specialUrl=1&src=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.html%3FresourceType%3D39997%26pid%3D8516041_57548366%26customParameters%3D1jutuike12xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
          "mobile_url": "https://mobile.yangkeduo.com/duo_transfer_channel.html?resourceType=39997&pid=8516041_57548366&customParameters=1jutuike123&authDuoId=8516041&cpsSign=CE_210512_8516041_57548366_8c4e61xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
          "mobile_short_url": "https://p.pixxxxxxxxxxxxxxxxx",
          "we_app_web_view_url": "https://mobile.yangkeduo.com/duo_transfer_channel.html?resourceType=39997&pid=8516041_57548366&customParameters=1jutuike123&authDuoId=8516041xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
          "url": "https://mobile.yangkeduo.com/duo_transfer_channel.html?resourceType=39997&pid=8516041_57548366&customParameters=1jutuike123&authDuoId=8516041&cxxxxxxxxxxxxxxxxxxxxxxx",
          "short_url": "https://a.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
          "we_app_web_view_short_url": "https://a.xxxxxxxxxxxxxxxxxxxxxxxx"
       },
       "sign": "CE_210512_8516041_57548366_8c4e617e999534b7xxxxxxxxxxxx",
       "we_app_info": {
        "we_app_icon_url": "http://xcxcdn.yangkeduo.com/pdd_logo.png",
        "user_name": "gh_a6611aee87d6",
        "page_path": "/pages/web/web?specialUrl=1&src=https%3A%2F%2Fmobile.yangkeduo.com%2Fduo_transfer_channel.html%3FresourceType%3D39997%26pid%3D8516041_57548366%26customParameters%3D1jutuike123%26authDuoId%3D8516041%26cpsSign%3DCE_210512_8516041_57548366_8c4e617e999534b7766bd2675f1cbexxxxxxxxxxxxxxxxx",
        "source_display_name": "小二",
        "title": "资源位",
        "app_id": "wxa918198fxxxxxxxx",
        "desc": "小二。"
       }
    }
}

响应代码

代码 代码描述 解决方案

公共错误码点击查看详情