09月22日, 2014 6166次
<?php
include "TopSdk.php";
$c = new TopClient;
$c->appkey = "23454612"; //必须用引号 字符型 否则签名错误
$c->secretKey = '41685f082312d2c3a4127d04572457f0';
$req = new WirelessShareTpwdCreateRequest;
$tpwd_param = new GenPwdIsvParamDto;
$tpwd_param->ext="{\"xx\":\"xx\"}";
$tpwd_param->logo="https://img.alicdn.com/bao/uploaded/i2/681426032/TB2YhAjaX95V1Bjy0FeXXXyfpXa_!!681426032.jpg_120x120.jpg";
$tpwd_param->url="https://s.click.taobao.com/nrzNSkw";
$tpwd_param->text="help me 大师兄";
$tpwd_param->user_id="24234234234";
$req->setTpwdParam(json_encode($tpwd_param));
$resp = $c->execute($req);
print_r($resp);
暂无留言,赶快评论吧