菜单

淘宝链接转换成淘宝客淘客链接PHP版

需要申请API 包含SDK的版本 header("Content-type: text/html; charset=utf-8"); include "TopSdk.php"; //正式环境时需要将该地址设置为:http://gw.api.taobao.com/router/rest //实例化TopClient类 $c = new TopClient; $c->a**ey = "a**ey";//自己改 $c->secretKey = "cccccc"; //自己改 //实例化具体API对应的Request类 $req = new Ta...