站点工具

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?)

search

热拍自营商品搜索接口

1、客户端调用热拍自营商品搜索接口

https://m.repai.com/api/search/?keywords=商品搜索关键词&sort=1&sort_by=1&price_start=5&price_end=10&page=1&limit=50&appkey=事业部密钥&app_id=应用编号

输入参数说明:

  • query 【UTF-8字符集的搜索关键词,需要urlencode编码】
  • page 【请求第几页】
  • limit 【显示记录数量,结合 page 用来做分页,下拉加载更多;page/1/limit/50相当于SQL语句中的limit 0,50】
  • sort 【排序方式 不传或者0(默认) 1(价格) 2(点击/人气) 3(销量)】
  • sort_by 【排序方式 1(递减) 2(递增)】
  • price_start 【价格区间起始值】
  • price_end 【价格区间结束值】
  • appkey 【热拍事业部买家版HTML5为100001,iOS为100002,Android为100003;浅蓝事业部iOS为100012,Android为100013;随身购事业部iOS为100022,Android为100023;超值购事业部iOS为100032,Android为100033;折扣宝事业部iOS为100042,Android为100043;购美事业部iOS为100052,Android为100053】

输出参数说明:

  • JSON格式输出,示例如下:
{
  "list": [
      {
          "rp_type": "103",
          "num_iid": 2014441224637991,
          "title": "苹果5手机保护套白雪公主保护壳一个",
          "pic_url": "http://pic.repaiapp.com/pic/86/aa/c2/86aac2d8a1534c5801cb204a7239cfd1af70ddf7.jpg",
          "now_price": 8.5,
          "show_time": "无",
          "origin_price": 10,
          "discount": 8.5,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 7,
          "rp_sold": 3,
          "item_url": "https://m.repai.com/item/view/id/2014441224637991",
          "item_urls": "https://m.repai.com/item/view/id/2014441224637991?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014436005217556,
          "title": "苹果5/5s翻盖式手机保护皮套",
          "pic_url": "http://pic.repaiapp.com/pic/4f/8c/4c/4f8c4cc8d771a0f390348c17838098d76c23db3e.jpg",
          "now_price": 7.8,
          "show_time": "无",
          "origin_price": 15,
          "discount": 5.2,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 6,
          "rp_sold": 12,
          "item_url": "https://m.repai.com/item/view/id/2014436005217556",
          "item_urls": "https://m.repai.com/item/view/id/2014436005217556?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014436008558548,
          "title": "苹果6/6s苹果6plus翻盖手机套",
          "pic_url": "http://pic.repaiapp.com/pic/76/21/b1/7621b16567227abc74950a40c6c04eb12f72f4ac.jpg",
          "now_price": 7.8,
          "show_time": "无",
          "origin_price": 18,
          "discount": 4.3,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 4,
          "rp_sold": 16,
          "item_url": "https://m.repai.com/item/view/id/2014436008558548",
          "item_urls": "https://m.repai.com/item/view/id/2014436008558548?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014430806176941,
          "title": "苹果5苹果6手机充电线数据线",
          "pic_url": "http://pic.repaiapp.com/pic/46/e7/0a/46e70a43371899830a247b4c99fb51ca0ba0714a.jpg",
          "now_price": 7.03,
          "show_time": "无",
          "origin_price": 19,
          "discount": 3.7,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 50,
          "rp_sold": 20,
          "item_url": "https://m.repai.com/item/view/id/2014430806176941",
          "item_urls": "https://m.repai.com/item/view/id/2014430806176941?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014442940744616,
          "title": "苹果4/5防爆摔钢化玻璃手机贴膜",
          "pic_url": "http://pic.repaiapp.com/pic/f4/0c/d3/f40cd3083e0a587c23a39e8b99301eca6c6a061f.jpg",
          "now_price": 6.12,
          "show_time": "无",
          "origin_price": 43,
          "discount": 1.4,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 5,
          "rp_sold": 13,
          "item_url": "https://m.repai.com/item/view/id/2014442940744616",
          "item_urls": "https://m.repai.com/item/view/id/2014442940744616?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014443719633034,
          "title": "苹果4/5雪花来电发光炫彩手机壳",
          "pic_url": "http://pic.repaiapp.com/pic/30/be/89/30be891076ec72a8dec5d0558497171f43069c04.jpg",
          "now_price": 5.95,
          "show_time": "无",
          "origin_price": 19,
          "discount": 3.1,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 2,
          "rp_sold": 16,
          "item_url": "https://m.repai.com/item/view/id/2014443719633034",
          "item_urls": "https://m.repai.com/item/view/id/2014443719633034?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      },
      {
          "rp_type": "103",
          "num_iid": 2014441212050372,
          "title": "苹果5/6/6P彩绘招财猫手机软壳",
          "pic_url": "http://pic.repaiapp.com/pic/ff/99/2c/ff992c9828b150d08a86dd6546f9a78010c5ad22.jpg",
          "now_price": 5.44,
          "show_time": "无",
          "origin_price": 8,
          "discount": 6.8,
          "start_discount": "2015-10-19 00:00:00",
          "deal_num": 5,
          "is_vip_price": 0,
          "is_onsale": 1,
          "total_love_number": 0,
          "rp_quantity": 5,
          "rp_sold": 24,
          "item_url": "https://m.repai.com/item/view/id/2014441212050372",
          "item_urls": "https://m.repai.com/item/view/id/2014441212050372?arg=ok",
          "tagimage": "http://static.m.repaiapp.com/static/new_img/buy_f.png"
      }
  ],
  "is_end": true,
  "total": 7,
  "current_count": 7,
  "next_limit": 50,
  "next_page": 1
  }

返回首页

search.txt · 最后更改: 2015/10/19 15:41 由 112.25.156.122