第三方api接口
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

18 righe
1.1 KiB

  1. package jdSdk
  2. import "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/comm"
  3. // Featured is 京粉精选商品 https://open.jd.com/home/home#/doc/api?apiCateId=461&apiId=3588&apiName=jd.union.open.goods.jingfen.query
  4. func Featured(r *RequestJD) ([]byte, error) {
  5. method := "jdSdk.union.open.goods.jingfen.query"
  6. args := map[string]interface{}{
  7. "pageIndex": r.PageIndex,
  8. "pageSize": r.PageSize,
  9. // 1-好券商品,2-精选卖场,10-9.9包邮,15-京东配送,22-实时热销榜,23-为你推荐,24-数码家电,25-超市,26-母婴玩具,27-家具日用,28-美妆穿搭,29-医药保健,30-图书文具,31-今日必推,32-京东好物,33-京东秒杀,34-拼购商品,40-高收益榜,41-自营热卖榜,109-新品首发,110-自营,112-京东爆品,125-首购商品,129-高佣榜单,130-视频商品,153-历史最低价商品榜
  10. "eliteId": r.EliteID,
  11. // 排序字段(price:单价, commissionShare:佣金比例, commission:佣金, inOrderCount30DaysSku:sku维度30天引单量,comments:评论数,goodComments:好评数)
  12. "sortName": r.SortName,
  13. }
  14. return send(method, comm.Arg{"goodsReq": args})
  15. }