Changes between Version 24 and Version 25 of pconline_4.0.0/interface


Ignore:
Timestamp:
12/30/2014 12:17:18 PM (11 years ago)
Author:
wuchangbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pconline_4.0.0/interface

    v24 v25  
    164164 
    165165 
     166=== 2.2 [=#point202 首页 - 评论列表] === 
     167{{{ 
     168备注:获取文章评论(需要提供户头像字段,userImg) 
     169 请求URL:http://mrobot.pcauto.com.cn/v3/cmt/new_topics/13118127?articleId=4147040&reverse=0&pageNo=1&pageSize=20 
     170 HTTP请求方式:get 
     171 是否需要登录:否 
     172 返回格式:json 
     173 缓存方式:无 
     174 缓存时间:无 
     175 请求参数: 
     176        topicId:主题ID 
     177        articleId:文章ID 
     178        reverse:排序方式:0  倒序; 1 正序 
     179        pageNo:页码 
     180        pageSize:每页行数 
     181 请求后端URL: 
     182        http://cmt.pcauto.com.cn/action/comment/list_new_json.jsp?tId=13118127&arch=0&reverse=0&pageSize=20 
     183        http://cmt.pcauto.com.cn/intf/tophot.jsp?tid=13118127 
     184 请求后端参数: 
     185        tid:主题ID(从id_0取出) 
     186        reverse:排序方式:0  倒序; 1 正序 
     187        pageSize:每页行数 
     188 返回参数: 
     189{ 
     190    "comments": [ 
     191        { 
     192            "1": { 
     193                "client": "1",                      //客户端标识 
     194                "content": "1499  我买!",          //评论内容 
     195                "floor": "25",                      //楼层 
     196                "id": "38918354",                   //评论id 
     197                "name": "amumuANZ",                 //显示名称 
     198                "time": "2014-12-30 11:39:32",      //评论时间 
     199                "userId": "34444661",               //用户ID 
     200                "userImg": "http://****"            //用户头像 
     201            }, 
     202            "current": "1",                          
     203            "expand": false,                        //是否展开 
     204            "support": "0"                          //顶的数量 
     205        }, 
     206        { 
     207            "1": { 
     208                "client": "2", 
     209                "content": "带通话功能就买。", 
     210                "floor": "24", 
     211                "id": "38918344", 
     212                "name": "来自Android客户端网友", 
     213                "time": "2014-12-30 11:39:22", 
     214                "userId": "0" 
     215                "userImg": "http://****"            //用户头像 
     216            }, 
     217            "current": "1", 
     218            "expand": false, 
     219            "support": "0" 
     220        } 
     221    ], 
     222    "pageCount": 2, 
     223    "pageNo": 1, 
     224    "total": 25 
     225} 
     226  
     227}}} 
    166228 
    167229