| 1 | 默认返回格式json
|
|---|
| 2 |
|
|---|
| 3 | 旧接口修改:
|
|---|
| 4 | ==================================================
|
|---|
| 5 |
|
|---|
| 6 | 1.1.1.话题列表——最新
|
|---|
| 7 | http://club.pcauto.com.cn/appapi/1.0/subject/hotSubjectList.do?pageNo=1&pageSize=15
|
|---|
| 8 | 排序:
|
|---|
| 9 | 返回的话题列表中话题的顺序按需求修改
|
|---|
| 10 | 新增字段:
|
|---|
| 11 | 讨论数
|
|---|
| 12 | 阅读数
|
|---|
| 13 | 例:
|
|---|
| 14 | {
|
|---|
| 15 | ......,
|
|---|
| 16 | subjectList:(
|
|---|
| 17 | ......,
|
|---|
| 18 | {
|
|---|
| 19 | ......,
|
|---|
| 20 | replyCount,
|
|---|
| 21 | readCount,
|
|---|
| 22 | ......,
|
|---|
| 23 | },
|
|---|
| 24 | ......,
|
|---|
| 25 | ),
|
|---|
| 26 | ......,
|
|---|
| 27 | }
|
|---|
| 28 | 。。。。。。。。。。
|
|---|
| 29 |
|
|---|
| 30 | 1.1.2.话题列表——最新——送审用
|
|---|
| 31 | /xsp/s/club/v4.5/hotSubjectList4Review.xsp
|
|---|
| 32 | 格式与1.1.1.一至
|
|---|
| 33 | 。。。。。。。。。。
|
|---|
| 34 |
|
|---|
| 35 | 1.1.3.话题列表——热门
|
|---|
| 36 | http://club.pcauto.com.cn/appapi/1.0/subject/hotSubjectList.do?pageNo=1&pageSize=15
|
|---|
| 37 | 排序:
|
|---|
| 38 | 返回的话题列表中话题的顺序按需求修改
|
|---|
| 39 | 新增字段:
|
|---|
| 40 | 讨论数
|
|---|
| 41 | 阅读数
|
|---|
| 42 | 例:
|
|---|
| 43 | {
|
|---|
| 44 | ......,
|
|---|
| 45 | subjectList:(
|
|---|
| 46 | ......,
|
|---|
| 47 | {
|
|---|
| 48 | ......,
|
|---|
| 49 | replyCount,
|
|---|
| 50 | readCount,
|
|---|
| 51 | ......,
|
|---|
| 52 | },
|
|---|
| 53 | ......,
|
|---|
| 54 | ),
|
|---|
| 55 | ......,
|
|---|
| 56 | }
|
|---|
| 57 | 。。。。。。。。。。
|
|---|
| 58 |
|
|---|
| 59 | 1.1.4.话题列表——热门——送审用
|
|---|
| 60 | /xsp/s/club/v4.5/hotSubjectList4Review.xsp
|
|---|
| 61 | 格式与1.1.3.一至
|
|---|
| 62 | 。。。。。。。。。。
|
|---|
| 63 |
|
|---|
| 64 | 1.2.1.http://mrobot.pcauto.com.cn/xsp/s/club/v4.4/topicsPage.xsp?resp_enc=utf-8&req_enc=utf-8&subjectId=4851&title=%E4%BB%8A%E6%97%A5%E6%B2%B9%E4%BB%B7&userId=41064891&pageNo=1&pageSize=15
|
|---|
| 65 | 新增字段:
|
|---|
| 66 | 话题头:
|
|---|
| 67 | 发起人昵称:加在原接口返回值的subjectHead中
|
|---|
| 68 | 置顶:
|
|---|
| 69 | 图片数量:加在原接口返回值的subjectTopList下dynaList中
|
|---|
| 70 | 分享数:加在原接口返回值的subjectTopList下dynaList中
|
|---|
| 71 | 评论数:加在原接口返回值的subjectTopList 下的 dynaList 中
|
|---|
| 72 | 帖子ID topicId:加在原接口返回值的subjectTopList下dynaList中
|
|---|
| 73 | 帖子标题:加在原接口返回值的subjectTopList下dynaList中
|
|---|
| 74 |
|
|---|
| 75 | 热门讨论:
|
|---|
| 76 | 图片数量:加在原接口返回值的dynaListHot下dynaList中
|
|---|
| 77 | 分享数:加在原接口返回值的dynaListHot下dynaList中
|
|---|
| 78 | 评论数:加在原接口返回值的dynaListHot下dynaList中
|
|---|
| 79 | 帖子ID topicId:加在原接口返回值的dynaListHot下dynaList中
|
|---|
| 80 | 帖子标题:加在原接口返回值的dynaListHot下dynaList中
|
|---|
| 81 |
|
|---|
| 82 | 最新讨论:
|
|---|
| 83 | 图片数量:加在原接口返回值的dynaListNew下dynaList中
|
|---|
| 84 | 分享数:加在原接口返回值的dynaListNew下dynaList中
|
|---|
| 85 | 评论数:加在原接口返回值的dynaListNew下dynaList中
|
|---|
| 86 | 帖子ID topicId:加在原接口返回值的dynaListNew下dynaList中
|
|---|
| 87 | 帖子标题:加在原接口返回值的dynaListNew下dynaList中
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 | 例:
|
|---|
| 91 | {
|
|---|
| 92 | "subjectHead": {
|
|---|
| 93 | nickName:"yy"
|
|---|
| 94 | }
|
|---|
| 95 | "subjectTopList": {
|
|---|
| 96 | dynaList[{
|
|---|
| 97 | pictureNum:22,
|
|---|
| 98 | shareCount:20,
|
|---|
| 99 | replyCount:20,
|
|---|
| 100 | topicId:123445
|
|---|
| 101 | title:"yoyoyo"
|
|---|
| 102 | }]
|
|---|
| 103 | }
|
|---|
| 104 | "dynaListHot": {
|
|---|
| 105 | dynaList[{
|
|---|
| 106 | pictureNum:22,
|
|---|
| 107 | shareCount:20,
|
|---|
| 108 | replyCount:20,
|
|---|
| 109 | topicId:123445
|
|---|
| 110 | title:"yoyoyo"
|
|---|
| 111 | }]
|
|---|
| 112 | }
|
|---|
| 113 | "dynaListNew": {
|
|---|
| 114 | dynaList[{
|
|---|
| 115 | pictureNum:22,
|
|---|
| 116 | shareCount:20,
|
|---|
| 117 | replyCount:20,
|
|---|
| 118 | topicId:123445
|
|---|
| 119 | title:"yoyoyo"
|
|---|
| 120 | }]
|
|---|
| 121 | }
|
|---|
| 122 | }
|
|---|
| 123 | 。。。。。。。。。。
|
|---|
| 124 |
|
|---|
| 125 | 1.3.1.参与话题
|
|---|
| 126 | http://bbs.pcauto.com.cn/appapi/1/topic/create.ajax
|
|---|
| 127 | 规则修改:
|
|---|
| 128 | 当不传forumId或者forumId传0时,该帖子归属于哪个圈子交给接口判断
|
|---|
| 129 |
|
|---|
| 130 | 新增接口:
|
|---|
| 131 | ==================================================
|
|---|
| 132 |
|
|---|
| 133 | 1.4.1.系统消息 - 送审接口
|
|---|
| 134 | 原接口:http://bip.pcauto.com.cn/intf/sysnotice.jsp
|
|---|
| 135 | 请求参数、返回值格式与原接口一样
|
|---|
| 136 |
|
|---|
| 137 | 1.4.2.车友社区页 - 焦点图 - 送审接口
|
|---|
| 138 | 原接口:http://mrobot.pcauto.com.cn/xsp/s/club/v4.6/communityHomePage.xsp?pageSize=20&clubId=0&pageNo=1
|
|---|
| 139 | 请求参数:无
|
|---|
| 140 | 返回参数:与原接口中相应字段一到
|
|---|
| 141 |
|
|---|
| 142 | activelist = (
|
|---|
| 143 | {
|
|---|
| 144 | appUrl = "pcautoclub://bbs-topic/9876688";
|
|---|
| 145 | createBy = "";
|
|---|
| 146 | dynaInfoId = "";
|
|---|
| 147 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/activeapp_v2/1602/uiyttr.jpg";
|
|---|
| 148 | title = "\U52b2\U70ab\U591a\U4e45\U6e05\U6d17\U8282\U6c14\U95e8";
|
|---|
| 149 | url = "http://bbs.pcauto.com.cn/topic-9876688.html";
|
|---|
| 150 | },
|
|---|
| 151 | {
|
|---|
| 152 | appUrl = "pcautoclub://bbs-topic/9899378";
|
|---|
| 153 | createBy = "";
|
|---|
| 154 | dynaInfoId = "";
|
|---|
| 155 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/activeapp_v2/1602/tyuiotyu.jpg";
|
|---|
| 156 | title = "\U3010\U6bcf\U5468\U8f66\U95ee\U7b54\U7cbe\U9009\U2467\U3011\U8fd9\U79cd\U60c5\U51b5\U7b97\U4e0d\U7b97\U95ef\U7ea2\U706f\Uff1f";
|
|---|
| 157 | url = "http://bbs.pcauto.com.cn/topic-9899378.html";
|
|---|
| 158 | },
|
|---|
| 159 | {
|
|---|
| 160 | appUrl = "pcautoclub://bbs-topic/9892288";
|
|---|
| 161 | createBy = "";
|
|---|
| 162 | dynaInfoId = "";
|
|---|
| 163 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/activeapp_v2/1602/112.jpg";
|
|---|
| 164 | title = "\U3010\U957f\U56fe\U6a21\U5f0f\U3011\U8f66\U724c\U87ba\U4e1d\U4e0d\U5bf9\U88ab\U626312\U5206 \U9707\U60ca\U4e86\U5417\Uff1f\Uff01";
|
|---|
| 165 | url = "http://bbs.pcauto.com.cn/topic-9892288.html";
|
|---|
| 166 | },
|
|---|
| 167 | {
|
|---|
| 168 | appUrl = "pcautoclub://club-talk/6141";
|
|---|
| 169 | createBy = "";
|
|---|
| 170 | dynaInfoId = "";
|
|---|
| 171 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/activeapp_v2/1602/640-240_1.jpg";
|
|---|
| 172 | title = "\U5143\U5bb5\U6d3b\U52a8";
|
|---|
| 173 | url = "http://club.pcauto.com.cn/topic/6141.html";
|
|---|
| 174 | },
|
|---|
| 175 | {
|
|---|
| 176 | appUrl = "pcautoclub://bbs-topic/9888657";
|
|---|
| 177 | createBy = "";
|
|---|
| 178 | dynaInfoId = "";
|
|---|
| 179 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/shequ/home/syfocus/1602/640.jpg";
|
|---|
| 180 | title = "\U3010\U8f66\U53cb\U56e2\U3011\U7b2c\U4e00\U671f \U884c\U8f66\U8bb0\U5f55\U4eea\U8d85\U503c\U56e2\U8d2d\U5927\U8fd4\U73b0\U6d3b\U52a8";
|
|---|
| 181 | url = "http://bbs.pcauto.com.cn/topic-9888657.html";
|
|---|
| 182 | }
|
|---|
| 183 | );
|
|---|
| 184 |
|
|---|
| 185 | 1.4.3.车友社区页 - 三张小图 - 送审接口
|
|---|
| 186 | 原接口:http://mrobot.pcauto.com.cn/xsp/s/club/v4.6/communityHomePage.xsp?pageSize=20&clubId=0&pageNo=1
|
|---|
| 187 | 请求参数:无
|
|---|
| 188 | 返回参数:与原接口中相应字段一至
|
|---|
| 189 |
|
|---|
| 190 | pics = (
|
|---|
| 191 | {
|
|---|
| 192 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/activeapp_v2/1602/APPzuotu.jpg";
|
|---|
| 193 | link = "http://play10.pcauto.com.cn/auto160222/";
|
|---|
| 194 | },
|
|---|
| 195 | {
|
|---|
| 196 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/app/000088206/1602/yhuanxai.jpg";
|
|---|
| 197 | link = "pcautoclub://club-talk/6141";
|
|---|
| 198 | },
|
|---|
| 199 | {
|
|---|
| 200 | img = "http://img0.pcauto.com.cn/pcauto/forum/club/app/000088206/1602/hjik_1.jpg";
|
|---|
| 201 | link = "pcautoclub://bbs-topic/9890414";
|
|---|
| 202 | }
|
|---|
| 203 | );
|
|---|
| 204 |
|
|---|
| 205 | mrobot合并:
|
|---|
| 206 | ==================================================
|
|---|
| 207 | 2.1.1.车友社区页送审接口:
|
|---|
| 208 | 1.4.2.车友社区页 - 焦点图 - 送审接口
|
|---|
| 209 | 1.4.3.车友社区页 - 三张小图 - 送审接口
|
|---|
| 210 |
|
|---|
| 211 | 原接口:http://mrobot.pcauto.com.cn/xsp/s/club/v4.6/communityHomePage.xsp?pageSize=20&clubId=0&pageNo=1
|
|---|
| 212 | 请求参数:与原接口一样
|
|---|
| 213 | 返回参数:在原接口一样的基础上,将焦点图和三张小图部分替换为送审数据
|
|---|