码迷,mamicode.com
首页 > 其他好文 > 详细

匿名社交2--消息列表

时间:2017-05-07 23:18:27      阅读:195      评论:0      收藏:0      [点我收藏+]

标签:style   hone   height   int   获取   接口   ges   png   用户   

1.根据当前用户的手机号获取朋友圈的最新消息,可分页显示。

技术分享

2.接口:

out.print("{\"status\":1,\"page\":1,\"perpage\":20,\"timeline\":["+
	"{\"msg\":\"Haha1\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha2\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha3\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha4\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha5\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha6\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha7\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"},"+
	"{\"msg\":\"Haha8\",\"phone_md5\":\"dasdasdbkas\",\"msgId\":\"1231234\"}"+
				"]}");

技术分享

 

  

匿名社交2--消息列表

标签:style   hone   height   int   获取   接口   ges   png   用户   

原文地址:http://www.cnblogs.com/ganchuanpu/p/6822542.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!