时间:2021-07-01 10:21:17 帮助过:22人阅读
$app_key = '21434106';$c->$secret='290598d1ed95a9eb5db95224a5e642b0';$req = new TaobaokeWidgetItemsConvertRequest;$req->setFields("num_iid,click_url,iid,commission,commission_rate,commission_num,commission_volume");$req->setOuterCode("bbs");$req->setNumIids("7642584420");$resp = $c->execute($req);print_r($resp);$click_url = $result['taobaokeItem']['click_url'];echo $req->$geturl;?>
如果还不清楚的,可联系我的Q 87102146 或miaozilong@gmail.com
我的网站淘宝已经通过认证,可以做返利网站了
你把那行script移到下面去,看看
你把那行script移到下面去,看看 帅哥 script在html中位置无所谓的
把代码精简一下
app_key=$app_key;/*填写appkey */$c->secret=$secret;/*填入Appsecret'*/$req = new TaobaokeItemsGetRequest;$req->setFields("num_iid,title,nick,pic_url,price,click_url,commission,commission_rate,commission_num,commission_volume,shop_click_url,seller_credit_score,item_location,volume");$req->setKeyword("泳衣");echo $req->getClick_url();$resp = $c->execute($req);print_r($resp);?>
include "TopSdk.php";
include("top/TopClient.php");
include("top/request/ItemGetRequest.php");
为何要载入三遍
其次 一楼的那段必须在JSSDK组件实现吧?