站点工具

New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners". upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners". upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners". upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort". upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort". upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort". upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort". upgrade now! [48.2] (what's this?)
Hotfix release available fixing authad issues: 2016-06-26a "Elenor of Tsort". upgrade now! [48.1] (what's this?)
New release available: 2016-06-26 "Elenor of Tsort". upgrade now! [48] (what's this?)
Hotfix release available: 2015-08-10a "Detritus". upgrade now! [47.1] (what's this?)
New release available: 2015-08-10 "Detritus". upgrade now! [47] (what's this?)
Hotfix release available: 2014-09-29d "Hrun". upgrade now! [46.4] (what's this?)
Hotfix release available: 2014-09-29c "Hrun". upgrade now! [46.3] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-09-29b "Hrun". upgrade now! [46.2] (what's this?)
Hotfix release available: 2014-09-29a "Hrun". upgrade now! [46.1] (what's this?)
New release available: 2014-09-29 "Hrun". upgrade now! [46] (what's this?)
Hotfix release available: 2014-05-05e "Ponder Stibbons". upgrade now! [44.5] (what's this?)
Hotfix release available: 2014-05-05d "Ponder Stibbons". upgrade now! [44.4] (what's this?)
Hotfix release available to prevent XSS attack via SWF uploads: 2014-05-05c "Ponder Stibbons". upgrade now! [44.3] (what's this?)
Security Hotfix 2014-05-05b to prevent zero byte attacks on external auth systems is available. upgrade now! [44.2] (what's this?)
Security Hotfix 2014-05-05a for Issue 765 available. upgrade now! [44.1] (what's this?)

b2c_itemlist

热拍APP首页、分类商品列表接口

1、首页商品列表接口

A、首页全部列表:

http://zhekou.repai.com/jkjby/view/rp_b2c_list.php?page=1&limit=50&appkey=密钥编号&app_oid=手机设备唯一编号&app_id=热拍应用ID&app_version=应用版本号&app_channel=应用渠道号&shce=

输入参数说明:

  • cid 【分类ID:0或空 全部,1数码,2女装,3男装,4家居,5母婴,6鞋包,7配饰,8美妆,9美食,10其他】
  • page 【记录page】
  • limit 【显示记录数量,结合 page 用来做分页,下拉加载更多;page/0/limit/50相当于SQL语句中的limit 0,50】
  • appkey 【热拍事业部买家版HTML5为100001,iOS为100002,Android为100003】
  • app_oid 【设备的唯一ID,iOS手机取OpenUDID(下载地址:https://github.com/ylechelle/OpenUDID)作为唯一ID;#import “OpenUDID.h” 然后 NSLog(@“%@”,[OpenUDID value]); 打印出来的值即为OpenUDID,然后对OpenUDID做md5加密后的值,作为appoid】
  • app_id 【热拍后台获取】
  • app_version 【应用版本号,例如:1.1.1】
  • app_channel 【应用渠道号,例如:appstroe】
  • sche
  • tomorrow 【是否是明日预告,有值则获取明日预告数据】

输出参数说明:

  • JSON格式输出,示例如下:
{
  "list": [
      {
          "rp_type": "103",
          "num_iid": "2014285632750436",
          "title": "高品质四色金头韩版牙刷",
          "pic_url": "http://pic.repaiapp.com/pic/6c/41/56/6c41565f702bd69ef851b203ac51f0990c08187c.jpg?",
          "now_price": 8.9,
          "show_time": "无",
          "origin_price": 8.9,
          "discount": 10,
          "start_discount": "2015-06-14 00:00:00",
          "deal_num": 6,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "total_hate_number": 0,
          "item_url": "http://m.repai.com/item/view/id/2014285632750436?appkey=&app_id=99999&app_oid=&app_version=&app_channel=appstore&sche="
      }
  ],
  "is_end": true,
  "total": 1,
  "current_count": 1,
  "next_limit": 10,
  "next_page": 1
  }
  • list 【返回的数据数组,数组格式】
  • is_end 【 是否还有下一页,true为已结束,无下一页;false为未结束,还有下一页】
  • next_page 【下一页的page量】
  • next_limit 【下一页的显示数量】
  • total 【总商品数量】
  • current_count 【本次显示的商品数量】

返回首页

b2c_itemlist.txt · 最后更改: 2015/06/24 15:46 由 112.25.156.122