<%
getConfig()
'系统级接口常量
Dim App_Key,App_Secret,Nick,Url,Format,Sign_Method,V,timestamp
App_Key = w_taoke_key
App_Secret = w_taoke_secret
Nick = w_taoke_nick
Url = "http://gw.api.taobao.com/router/rest"
Format = "xml"
Sign_Method = "md5"
V = "2.0"
timestamp = Format_Time(Now())
'定义API接口名称
Dim Method1,Method2,Method3,Method4,Method5
Method1="taobao.itemcats.get" '商品分类
Method2 = "taobao.taobaoke.items.get" '查询淘宝客推广商品
Method3 = "taobao.taobaoke.items.detail.get" '淘宝客商品详情查询
Method4 = "taobao.user.get" '得到单个用户
Method5 = "taobao.shop.get" '获取卖家店铺的基本信息
'定义店铺店标地址部分
Dim shoplogo
shoplogo ="http://logo.taobao.com/shop-logo/"
'定义返回值
Dim sfields1,sfields2,sfields3,sfields4,sfields5
sfields1 ="cid,parent_cid,name,is_parent,status,sort_order"
sfields2 = "iid,num_iid,title,nick,pic_url,click_url,price,commission,commission_rate,commission_num,commission_volume,shop_click_url,seller_credit_score,item_location"
sfields3 = "click_url,shop_click_url,seller_credit_score,title,nick,type,desc,pic_url,num,list_time,delist_time,stuff_status,location,price,post_fee,express_fee,ems_fee,freight_payer,approve_status,auction_point,volume,state,city"
sfields4 = "user_id,nick,sex,buyer_credit,seller_credit,created,type,status,consumer_protection"
sfields5 = "sid,cid,nick,title,desc,pic_path,bulletin,created"
%>