Changes between Version 35 and Version 36 of baby/interface
- Timestamp:
- 06/24/2014 08:55:22 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
baby/interface
v35 v36 839 839 }}} 840 840 841 ==== 6.2我的交流圈-主 贴、精华帖 ====842 {{{ 843 备注:我的交流圈-主 贴、精华帖844 接口开发:丁健勇845 请求URL: 841 ==== 6.2我的交流圈-主帖、精华帖、回帖 ==== 842 {{{ 843 备注:我的交流圈-主帖、精华帖、回帖 844 接口开发:丁健勇 845 请求URL:http://bbs.pcbaby.com.cn/mobile/myPost.do 846 846 HTTP请求方式:get 847 847 是否需要登录:否 … … 850 850 缓存时间:无 851 851 请求参数: 852 type:1主题,2精华帖 853 设置header Cookie = "common_session_id=xxxx"; 854 pageNo 855 pageSize 856 返回参数 852 uid: 用户id,默认为当前登录用户id 853 type: 查询类型,默认为topic;可填topic(主贴),pick(精华帖),reply(回帖) 854 pageNo: 当前第几页 855 pageSize: 每页显示的数量,默认10条 856 maxLength: 帖子内容需要截取的长度,默认240个字节 857 callback: 回调函数 858 type为topic或pick时的返回参数,成功时: 857 859 { 858 id: 859 name: 860 status: 0, 861 desc: "查询成功", 862 uid: 用户id, 860 863 topics:[ 861 864 { 862 id:863 title: 864 des:865 author :866 time:867 views Num:868 commentNum:865 topicId: 主帖id, 866 title: 标题, 867 message: 截取的帖子内容, 868 authorName: 主帖的用户名, 869 createAt: 发帖时间, 870 views: 帖子浏览数, 871 replyCount: 帖子回复数 869 872 } 870 873 ] 871 874 } 872 }}} 873 874 ==== 6.3我的交流圈-回帖 ==== 875 {{{ 876 备注:我的交流圈-回帖 877 接口开发:丁健勇 878 请求URL: 879 HTTP请求方式:get 880 是否需要登录:否 881 返回格式:JSON 882 缓存方式:无 883 缓存时间:无 884 请求参数: 885 设置header Cookie = "common_session_id=xxxx"; 886 pageNo 887 pageSize 888 返回参数 889 { 890 id: 891 name: 875 失败时: 876 { 877 desc: "原因描述", 878 status: 状态码 879 } 880 881 type为reply时的返回参数,成功时: 882 { 883 status: 0, 884 desc: "查询成功", 885 uid: 用户id, 892 886 topics:[ 893 887 { 894 id: 895 image:"" 896 title: 897 des: 898 author: 899 time: 900 viewsNum: 901 commentNum: 902 type:1性福,2婆媳,3情感,4职场,5姐妹,6邻里,7私语,8话题 903 typeName:对应type的名字 904 replyContent:回复内容 905 replyAuthorName: 906 replyAuthorId: 907 replyTime: 908 } 909 ] 910 } 911 }}} 912 913 ==== 6.3.1我的交流圈数量 ==== 888 topicId: 主帖id, 889 image: 主帖中的第一张图片, 890 title: 主帖标题, 891 message: 截取的帖子内容, 892 authorName: 主帖的用户名, 893 createAt: 主帖创建时间, 894 views: 主帖浏览数, 895 replyCount: 主帖回复数, 896 categoryId: 1性福,2婆媳,3情感,4职场,5姐妹,6邻里, 897 category: 对应category的名字, 898 replyContent: 回帖的内容, 899 replyAuthorName: 回帖的用户名, 900 replyAuthorId: 回帖的用户id, 901 replyTime: 回帖的时间 902 } 903 ] 904 } 905 失败时: 906 { 907 desc: "原因描述", 908 status: 状态码 909 } 910 }}} 911 912 ==== 6.3我的交流圈数量 ==== 914 913 {{{ 915 914 备注:我的交流圈-主贴、精华帖
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)