站点工具

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

itemlist

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

1、首页商品列表接口

A、首页全部列表:

https://m.repai.com/itemlist/list_api/offset/0/limit/50/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24

指定价格,比如0~10元:

https://m.repai.com/itemlist/list_api/offset/0/limit/50/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24&price_start=0&price_end=10

B、分类列表:

https://m.repai.com/itemlist/list_api/cid/分类编号/offset/0/limit/50/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24

C、“我喜欢”列表

(“我喜欢”算法尚未添加,现在显示的是首页列表)

https://m.repai.com/itemlist/love_api/offset/0/limit/50/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24

D、“值得买”列表

https://m.repai.com/itemlist/zhidemai_api/offset/0/limit/50/appkey/密钥编号/appoid/手机设备唯一编号/?access_token=rpat_47be0653fe75e8ae3f3d4fa5de931c24


输入参数说明:

  • cid 【分类ID:0或空 全部,1数码,2女装,3男装,4家居,5母婴,6鞋包,7配饰,8美妆,9美食,10其他】
  • offset 【记录偏移量】
  • limit 【显示记录数量,结合 offset 用来做分页,下拉加载更多;offset/0/limit/50相当于SQL语句中的limit 0,50】
  • 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】
  • price_start 【最小价格,整数】
  • price_end 【最大价格,整数】

输出参数说明:

  • JSON格式输出,示例如下:
{
"is_end": false,
"next_offset": 50,
"next_limit": "50",
"total": 1784,
"current_count": 2,
"search_input_name": "搜索 热拍 折扣宝贝",
"market_camp": {
	"big1": {
		"pic": "http://pic.repaiapp.com/image/market/daily_btn.png",
		"url": "http://m.repai.com/weibo/?target=push"
	},
	"big2": {
		"pic": "http://pic.repaiapp.com/image/market/nine_btn.png",
		"url": "http://zhekou.repai.com/jkjby/view/list.php?target=safari"
	},
	"small1": {
		"pic": "http://pic.repaiapp.com/image/market/prize_btn.png",
		"url": "http://caipiao.m.taobao.com/lottery/h5/app.html?target=push"
	},
	"small2": {
		"pic": "http://pic.repaiapp.com/image/market/sign_night_btn.png",
		"url": "http://m.repai.com/item/view/id/1100940246937612/?target=rpitem&access_token={rp_access_token}"
	}
},
"data": [
	{
		"cid": 0,
		"discount": "7.6",
		"favour_down": false,
		"favour_total_down": 0,
		"favour_total_up": 0,
		"favour_up": false,
		"item_url": "http://m.repai.com/item/view/id/1100059932266654/?target=push&appkey=100002&appoid=test",
		"rp_iid": "1100059932266654",
		"rp_old_price": "13",
		"rp_pic_url": "http://img04.taobaocdn.com/imgextra/i4/2067360310/TB2GiQOXVXXXXarXpXXXXXXXXXX_!!2067360310.jpg_120x120.jpg",
		"rp_pic_url_hd": "http://img04.taobaocdn.com/imgextra/i4/2067360310/TB2GiQOXVXXXXarXpXXXXXXXXXX_!!2067360310.jpg_310x310.jpg",
		"rp_price": "9.9",
		"rp_title": "韩版小清新雪纺单肩斜跨晚宴包",
		"tag_color": "248,60,60",
		"tag_name": "新人减1元",
		"rp_weight": 64300,
		"type": "C"
	},
	{
		"cid": 0,
		"discount": "2.2",
		"favour_down": false,
		"favour_total_down": 0,
		"favour_total_up": 0,
		"favour_up": false,
		"item_url": "http://m.repai.com/item/view/id/1100053540323753/?target=push&appkey=100002&appoid=test",
		"rp_iid": "1100053540323753",
		"rp_old_price": "89.99",
		"rp_pic_url": "http://img02.taobaocdn.com/imgextra/i2/746431282/TB2i6wOXVXXXXbeXXXXXXXXXXXX_!!746431282.jpg_120x120.jpg",
		"rp_pic_url_hd": "http://img02.taobaocdn.com/imgextra/i2/746431282/TB2i6wOXVXXXXbeXXXXXXXXXXXX_!!746431282.jpg_310x310.jpg",
		"rp_price": "19.8",
		"rp_title": "19.8包邮 罗马镂空细高跟鞋",
		"tag_color": "",
		"tag_name": "",
		"rp_weight": 63300,
		"type": "C"
	}
],
}
  • is_end 【 是否还有下一页,true为已结束,无下一页;false为未结束,还有下一页】
  • next_offset 【下一页的偏移量】
  • next_limit 【下一页的显示数量】
  • total 【总商品数量】
  • current_count 【本次显示的商品数量】
  • search_input_name 【热拍首页搜索输入框的文字提示】
  • market_camp 【热拍首页市场营销图片模块,url中如果含有{rp_access_token},请替换成当前保存的rp_access_token】
  • item_url 【Webview打开的商品详情页链接,URL中的参数target=push表示PUSH方式打开,target=present表示present方式打开】
  • tag_name 【标签名称,为空时无标签】
  • tag_color 【标签色值】

返回首页

itemlist.txt · 最后更改: 2015/01/06 20:49 由 123.126.29.78