京东联盟采集规则
1. 精选推荐
爆款 共89页 ,全部采集
https://media.jd.com/gotoadv/theme?type=0&pageIndex=2&pageSize=50&property=soutByInOrderCount&sort=desc&goodsView=&cat1=&cat2=&cat3=
优惠 共91页 采集到30页 订单 645
https://media.jd.com/gotoadv/theme?type=1&pageIndex=[地址参数]&pageSize=50&property=soutByInOrderCount&sort=desc&goodsView=&cat1=&cat2=&cat3=
https://media.jd.com/gotoadv/theme?type=1&pageIndex=&pageSize=50&property=soutByInOrderCount&sort=desc&goodsView=&cat1=&cat2=&cat3=
已失效 专享价 共 472页 采集到10页 订单 319
https://media.jd.com/gotoadv/pickupdate?type=1&pageIndex=2&pageSize=50&property=inOrderCount30Days&sort=desc&goodsView=&cat1=&cat2=&cat3=
高佣 共11964页 采集到100页 订单 890
按订单数
https://media.jd.com/gotoadv/pickupdate?type=2&pageIndex=2&pageSize=50&property=inOrderCount30Days&sort=desc&goodsView=&cat1=&cat2=&cat3=
按佣金比例
https://media.jd.com/gotoadv/pickupdate?type=2&pageIndex=2&pageSize=50&property=pcCommissionShare&sort=desc&goodsView=&cat1=&cat2=&cat3=&price=PC
2. 商品推广
自营 全部 30天订单量 只能翻页到100
https://media.jd.com/gotoadv/goods?pageIndex=101&pageSize=50&property=inOrderCount30Days&sort=desc&goodsView=&adownerType=g&pcRate=&wlRate=&category1=&category=&category3=&condition=1&fromPrice=&toPrice=&keyword=
采集成功后,将txt文件改类型为 sql,然后压缩成zip,
从新浪云 独享型数据库中进入 -数据导入—新建导入任务— SQL文件 上传文件 导入到数据库 fangbei中
删除重复记录
1. 将repeat设置为分类+订单
update yhq_jdunion_goods set `unionid` = concat(cat3, "-", orders)
delete from TableName where id not in (select minid from (select min(id) as minid from TableName group by RepeatFiled) b);
DELETE FROM tablename where id not in (select id from (select min(id) as id from tablename group by key) as b ) ;
在高佣商品中取特定生成相应的素材页面
本文来自博客园,作者:方倍工作室,转载请注明原文链接:https://www.cnblogs.com/txw1958/p/9742835.html