1.淘宝的API接口整天瞎折腾,有很长一段时间不提供销量和掌柜名了,最近又开放了,此问题待程序升级修正 2.淘宝的API接口整天瞎折腾,现在又不支持无分类无关键词查询了 3.后台里注明的版本的整合没问题,如果不行估计是没装好或设置问题,最新版的WP未做测试 问题2的临时解决方法 include/taoke_list.func.php 文件里找到以下代码(第25行) $paramArr = array ('method' => 'taobao.tbk.item.get', 'fields' => 'num_iid,title,pict_url,small_images,reserve_price,zk_final_price,user_type,provcity,item_url,seller_id,volume,nick', 'q' => ' ', 'cat' => $catid, 'page_no' => $page, 'page_size' => $num, 'sort' => $sort, 'start_price' => $S_price, 'end_price' => $E_price, 'is_tmall' => $setting ['mall_item'], 'start_tk_rate' => $setting ['itemrate_start'], 'end_tk_rate' => $setting ['itemrate_end'] ); 红色部分改为以下红色部分,关键词可自行定义(例如促销、特价、包邮、新款等等) $paramArr = array ('method' => 'taobao.tbk.item.get', 'fields' => 'num_iid,title,pict_url,small_images,reserve_price,zk_final_price,user_type,provcity,item_url,seller_id,volume,nick', 'q' => $catid?' ':duoao_iconv ( '促销', CHARSET, 'UTF-8' ), 'cat' => $catid, 'page_no' => $page, 'page_size' => $num, 'sort' => $sort, 'start_price' => $S_price, 'end_price' => $E_price, 'is_tmall' => $setting ['mall_item'], 'start_tk_rate' => $setting ['itemrate_start'], 'end_tk_rate' => $setting ['itemrate_end'] ); |