站点工具

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_cat

热寻类目商品列表接口

1、客户端调用热寻类目商品列表接口

https://m.repai.com/search/search_cat_api/cid/二级或三级类目编号/offset/0/limit/60/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24

输入参数说明:

  • offset 【记录偏移量】
  • limit 【显示记录数量,结合 offset 用来做分页,下拉加载更多;offset/0/limit/50相当于SQL语句中的limit 0,50】
  • price_start 【价格区间起始值,目前暂时不填】
  • price_end 【价格区间结束值,目前暂时不填】
  • appkey 【热拍买家版HTML5为100001,iOS为100002,Android为100003。】
  • appoid 【设备的唯一ID,iOS手机取OpenUDID(下载地址:https://github.com/ylechelle/OpenUDID)作为唯一ID;#import “OpenUDID.h” 然后 NSLog(@“%@”,[OpenUDID value]); 打印出来的值即为OpenUDID,然后对OpenUDID做md5加密后的值,作为appoid】

输出参数说明:

  • JSON格式输出,示例如下:
{
"is_end": false,
"total": 600,
"current_count": 60,
"next_limit": 60,
"next_offset": 60,
"data": [
	{
		"rp_discount": "1",
		"rp_iid": "1100045264630994",
		"rp_old_price": "199.8",
		"item_url": "http://m.repai.com/item/view/id/1100045264630994/?target=push&appkey=100002&appoid=test",
		"rp_pic_url": "http://gi2.mlist.alicdn.com/bao/uploaded/i2/T19jKQFDXiXXXXXXXX_!!0-item_pic.jpg_220x220.jpg",
		"rp_price": "19.99",
		"rp_sold": "2216",
		"rp_title": "2014新款t恤短袖女修身大码女装金丝刺绣包臀中长款打底衫女夏装",
		"target": "rpitem"
	},
	{
		"rp_discount": "1.5",
		"rp_iid": "1100047662381680",
		"rp_old_price": "133",
		"item_url": "http://m.repai.com/item/view/id/1100047662381680/?target=push&appkey=100002&appoid=test",
		"rp_pic_url": "http://gi4.mlist.alicdn.com/bao/uploaded/i4/TB1kGzbFVXXXXc_XpXXXXXXXXXX_!!0-item_pic.jpg_220x220.jpg",
		"rp_price": "19.95",
		"rp_sold": "114",
		"rp_title": "倩朵春夏装韩版潮女士打底衫宽松新款大码女装韩国休闲短袖T恤棉",
		"target": "rpitem"
	},
  • is_end 【 是否还有下一页,true为已结束,无下一页;false为未结束,还有下一页】
  • next_offset 【下一页的偏移量】
  • next_limit 【下一页的显示数量】
  • total 【总商品数量】
  • current_count 【本次显示的商品数量】
  • item_url 【Webview打开的商品详情页链接,URL中的参数target=push表示PUSH方式打开,target=present表示present方式打开】
  • target 【打开方式:rpitem 热拍详情页打开,tmall 天猫详情页打开,taobao 淘宝详情页打开,push 普通webview打开,safari 外部打开】

返回首页

search_cat.txt · 最后更改: 2014/12/31 14:46 由 123.126.29.78