| | 101 | ||id||String||Y||文章id|| |
| | 102 | |
| | 103 | |
| | 104 | ==== 2.2.1 文章评论页 ==== |
| | 105 | {{{ |
| | 106 | 接口: /xsp/s/club/v4.7/newTopics.xsp?topicId=13285745 [[BR]] |
| | 107 | 说明 : 在进入文章页的时候,要通过2.2所描述/club/cmt/get_newest_floor?id=7435149接口获取评论id,再通过此接口获取文章评论数据 |
| | 108 | |
| | 109 | 是否分页:是 |
| | 110 | 是否缓存:是 |
| | 111 | 是否登陆:否 |
| | 112 | |
| | 113 | 返回结果: |
| | 114 | { |
| | 115 | "total":53,"id":13309550, |
| | 116 | "floor":54,"availableTotal":53, |
| | 117 | "turl":"http://www.pcauto.com.cn/nation/743/7435956.html", |
| | 118 | "url43g":"http://cmt.pcauto.com.cn/topic/3g/a0/r0/t13309550.html", |
| | 119 | "url":"http://cmt.pcauto.com.cn/topic/a0/r0/p1/ps30/t13309550.html" |
| | 120 | } |
| | 121 | |
| | 122 | |
| | 123 | 后端应用接口: |
| | 124 | |
| | 125 | |
| | 126 | }}} |
| | 127 | 协议参数说明: |
| | 128 | ||= 参数名 =||= 类型 =||= 必须 =||= 说明 =|| |
| | 129 | ||= pageNo =||int||= 否 =||= 页数 =|| |
| | 130 | ||= pageSize=||int||= 否 =||= 每页条数 =|| |
| | 131 | ||= topicId =||= string =||= 是 =||=挂评论的话题id =|| |
| | 132 | ||= articleId=||= string =||= 否 =||=文章id=|| |
| | 133 | ||= reverse=||= string =||= 否 =||=是否倒序 =|| |
| 109 | | |
| 110 | | |
| 111 | | 后端应用接口: |
| 112 | | |
| | 146 | { |
| | 147 | comments: [ |
| | 148 | { |
| | 149 | 1: { |
| | 150 | id: "29505789", |
| | 151 | userId: "24059878", |
| | 152 | name: "无名小卒1314", |
| | 153 | floor: "54", |
| | 154 | time: "2015-12-03 11:19:30", |
| | 155 | client: "1", |
| | 156 | content: "车不错,不知道价格会是多少!~" |
| | 157 | }, |
| | 158 | current: "1", |
| | 159 | support: "0", |
| | 160 | expand: false |
| | 161 | }, |
| | 162 | { |
| | 163 | 1: { |
| | 164 | id: "29505629", |
| | 165 | userId: "0", |
| | 166 | name: "上海市网友", |
| | 167 | floor: "44", |
| | 168 | time: "2015-12-03 10:45:31", |
| | 169 | client: "1", |
| | 170 | content: "Sjwr.t喜k ( 喜 去除 )" |
| | 171 | }, |
| | 172 | 2: { |
| | 173 | id: "29505646", |
| | 174 | userId: "0", |
| | 175 | name: "贵州省贵阳市网友", |
| | 176 | floor: "49", |
| | 177 | time: "2015-12-03 11:59:56", |
| | 178 | client: "1", |
| | 179 | content: "好奇去搜了下,刚看了会,立马就撸了" |
| | 180 | }, |
| | 181 | 3: { |
| | 182 | id: "29505739", |
| | 183 | userId: "0", |
| | 184 | name: "北京市网友", |
| | 185 | floor: "51", |
| | 186 | time: "2015-12-03 11:03:39", |
| | 187 | client: "1", |
| | 188 | content: "尼玛,这胸,这腿,够我撸一天的。" |
| | 189 | }, |
| | 190 | current: "3", |
| | 191 | support: "0", |
| | 192 | expand: false |
| | 193 | }, |
| | 194 | hot-comments: [ ], |
| | 195 | docUrl: "http://mrobot.pcauto.com.cn/v3/cms/articles/7435956", |
| | 196 | pageNo: 1, |
| | 197 | pageCount: 3 |
| | 198 | } |
| | 199 | |
| | 200 | |
| | 201 | 后端应用接口: |
| | 202 | cmt线上环境:http://cmt.pcauto.com.cn/action/comment/list_new_json.jsp?tId=13285745&arch=0&reverse=0 [[BR]] |
| | 203 | http://cmt.pcauto.com.cn/intf/tophot.jsp?tid=13285745 [[BR]] |