站点工具

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

story_person_get

故事读取接口(单个用户上传的故事)

1、故事读取接口(单个用户上传的故事)

输入参数说明:

  • sort 【排序方式,可选参数为:time按照发布时间排序;clicks按照点击数排序;comment按照评论数/赞数排序。目前暂时只支持time】
  • type 【故事审核状态:1为发布并自动显示在公共列表;2为被内容违法或广告贴被编辑删除】
  • offset 【记录偏移量】
  • limit 【显示记录数量,结合 offset 用来做分页,下拉加载更多;offset/0/limit/10相当于SQL语句中的limit 0,10】
  • 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】
  • rp_uid 【用户的热拍用户ID】

输出参数说明:

{
"current_count": 2,
"data": [
	{
		"avatar": "http://pic.repaiapp.com/pic/95/23/22/9523222a32b3cf16d3eaf0cf721153b9ca52896b.jpg@0e_120w_120h_0c_0i_1o_90Q_1x.jpg",
		"love": [
			{
				"appoid": "",
				"avatar": "http://pic.repaiapp.com/pic/3d/d3/91/3dd391277ece6d31b824fd9b666bed8b7f4c1d89.jpg@0e_60w_60h_0c_0i_1o_90Q_1x.jpg",
				"nick": "ling",
				"rp_sex": "1",
				"rp_uid": "62"
			},
			{
				"appoid": "22ded378517bca211bbb211ca84d144a",
				"avatar": "http://pic.repaiapp.com/image/other/avatar.png",
				"nick": "访客****144a",
				"rp_sex": "0",
				"rp_uid": ""
			},
			{
				"appoid": "",
				"avatar": "http://pic.repaiapp.com/pic/91/30/c4/9130c4921f33cd4c559907db1edc094f43a391dd.jpg@0e_60w_60h_0c_0i_1o_90Q_1x.jpg",
				"nick": "心虚无语",
				"rp_sex": "0",
				"rp_uid": "107"
			}
		],
		"love_total_up": "3",
		"love_up": false,
		"message": "风能供电,非常不错的USB集线器。",
		"photos": [
			{
				"pic_url": "http://pic.repaiapp.com/pic/27/1c/79/271c79bbbced1b953973911103600910b644ddb8.jpg",
				"pic_url_thum": "http://pic.repaiapp.com/pic/27/1c/79/271c79bbbced1b953973911103600910b644ddb8.jpg@1e_400w_400h_1c_0i_1o_90Q_1x.jpg"
			},
			{
				"pic_url": "http://pic.repaiapp.com/pic/8c/12/27/8c122799c73b4654ed7ae2f963320be63ce9349f.jpg",
				"pic_url_thum": "http://pic.repaiapp.com/pic/8c/12/27/8c122799c73b4654ed7ae2f963320be63ce9349f.jpg@1e_400w_400h_1c_0i_1o_90Q_1x.jpg"
			}
		],
		"publish_time": "1413275145",
		"rp_city": "北京",
		"rp_iids": [
			{
				"rp_iid": "1100949201810244",
				"rp_item_url": "http://m.repai.com/item/view/id/1100949201810244/",
				"rp_pic_url": "http://gw.alicdn.com/bao/uploaded/i1/TB1FdPOFVXXXXbOXpXXXXXXXXXX_!!0-item_pic.jpg_320x320q90.jpg",
				"rp_price": "9.9",
				"rp_quantity": "50",
				"rp_title": "劲日电脑多接口usb分线器 高速usb集线器usb hub一分四USB延长线"
			}
		],
		"rp_nick": "rewinx",
		"rp_phone": "15901283960",
		"rp_province": "北京",
		"rp_sex": "1",
		"rp_uid": "1",
		"story_id": "37",
		"story_url": "http://m.repai.com/story/view/id/37/"
	},
	{
		"avatar": "http://pic.repaiapp.com/pic/95/23/22/9523222a32b3cf16d3eaf0cf721153b9ca52896b.jpg@0e_120w_120h_0c_0i_1o_90Q_1x.jpg",
		"love": [
		],
		"love_total_up": "0",
		"love_up": false,
		"message": "这是一篇故事的内容,不知道大家是否喜欢?",
		"photos": [
			{
				"pic_url": "http://pic.repaiapp.com/pic/6a/25/01/6a25017b9dc9b0ae4fd185ec235a6c0ba9278116.jpg",
				"pic_url_thum": "http://pic.repaiapp.com/pic/6a/25/01/6a25017b9dc9b0ae4fd185ec235a6c0ba9278116.jpg@1e_400w_400h_1c_0i_1o_90Q_1x.jpg"
			},
			{
				"pic_url": "http://pic.repaiapp.com/pic/74/db/fe/74dbfec08545b578359464fa53fb8f9cc107876b.jpg",
				"pic_url_thum": "http://pic.repaiapp.com/pic/74/db/fe/74dbfec08545b578359464fa53fb8f9cc107876b.jpg@1e_400w_400h_1c_0i_1o_90Q_1x.jpg"
			},
			{
				"pic_url": "http://pic.repaiapp.com/pic/c0/42/12/c04212b72c26d94a2fa0e8f1de616931b5b64a00.jpg",
				"pic_url_thum": "http://pic.repaiapp.com/pic/c0/42/12/c04212b72c26d94a2fa0e8f1de616931b5b64a00.jpg@1e_400w_400h_1c_0i_1o_90Q_1x.jpg"
			}
		],
		"publish_time": "1410321182",
		"rp_city": "北京",
		"rp_iids": [
			{
				"rp_iid": "1100940608817830",
				"rp_item_url": "http://m.repai.com/item/view/id/1100940608817830/",
				"rp_pic_url": "http://gw.alicdn.com/bao/uploaded/i4/T1e6yMFwNbXXXXXXXX_!!0-item_pic.jpg_320x320q90.jpg",
				"rp_price": "29",
				"rp_quantity": "50",
				"rp_title": "2014新款秋装保暖长袖打底衫韩版加绒加厚中长款长袖女T恤上衣女"
			},
			{
				"rp_iid": "1100940324257215",
				"rp_item_url": "http://m.repai.com/item/view/id/1100940324257215/",
				"rp_pic_url": "http://gw.alicdn.com/bao/uploaded/i2/TB1WZ2FGXXXXXbwXXXXXXXXXXXX_!!0-item_pic.jpg_320x320q90.jpg",
				"rp_price": "2.8",
				"rp_quantity": "50",
				"rp_title": "DIY彩虹织布机纯色彩色橡皮筋编织手工手链手绳手圈饰品单色包邮"
			}
		],
		"rp_nick": "rewinx",
		"rp_phone": "15901283960",
		"rp_province": "北京",
		"rp_sex": "1",
		"rp_uid": "1",
		"story_id": "13",
		"story_url": "http://m.repai.com/story/view/id/13/"
	}
],
"is_end": false,
"next_limit": 2,
"next_offset": 2,
"total": 8
}
  • is_end 【 是否还有下一页,true为已结束,无下一页;false为未结束,还有下一页】
  • next_offset 【下一页的偏移量】
  • next_limit 【下一页的显示数量】
  • total 【总故事数量】
  • current_count 【本次显示的故事数量】
  • message 【故事文本内容】
  • love_total_up 【某篇故事总的喜欢数】
  • love_up 【当前用户对某篇故事是否喜欢】
  • avatar 【用户头像图片地址】
  • publish_time 【故事发布时间UNIX时间戳】
  • rp_province 【用户省份】
  • rp_city 【用户城市】
  • rp_sex 【用户性别:1为男,2为女,0为未知】
  • rp_phone 【用户手机号】
  • rp_nick 【用户昵称,无昵称时,显示进行*处理的手机号,例如:1593960】
  • rp_uid 【用户ID】
  • photos 【用户上传的照片,pic_url为大图,pic_url_thum为缩略图】
  • rp_iids 【商品图片及内容摘要】
  • love 【对当前故事点“赞”的登陆用户、未登陆用户列表:avatar头像,nick昵称,appoid匿名用户手机设备唯一ID,rp_uid登陆用户ID】
  • story_url 【整篇故事的Web地址】

返回首页

story_person_get.txt · 最后更改: 2014/11/25 20:04 由 112.25.156.122