Changes between Version 18 and Version 19 of intf


Ignore:
Timestamp:
09/05/2012 05:40:05 PM (14 years ago)
Author:
leijingtang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • intf

    v18 v19  
    3838=== 2. [=#point200 WEB接口] === 
    3939 
    40 ==== 2.1 [=#point201 搜索百科] ==== 
     40~~==== 2.1 [=#point201 搜索百科] ====~~ 
    4141{{{ 
    4242    URL:/intf/search.jsp 
     
    239239}}} 
    240240 
     241=== 3. [=#point300 mrobot移植接口] === 
     242 
     243== 3.1 [=#point301 请求文章]== 
     244{{{ 
     245    请求文章: http://mrobot.pconline.com.cn/v3/cms/articles/{article id}  
     246    例子: http://mrobot.pconline.com.cn/v3/cms/articles/2847405 
     247 
     248    请求方式:get  
     249    是否需要登录:否  
     250    请求参数: 
     251        pageNo:请求页码,从1开始 
     252}}} 
     253 
     254== 3.2 [=#point302 评论列表]== 
     255{{{ 
     256    根据评论id请求评论列表: http://mrobot.pconline.com.cn/v3/cmt/topics/{文章对应的评论id}  
     257    例子: http://mrobot.pconline.com.cn/v3/cmt/topics/12975470 
     258 
     259    请求方式:get  
     260    是否需要登录:否  
     261    请求参数: 
     262        reverse:排序方式,0代表按发表时间倒序,1代码正序  
     263        support:待验证 
     264}}} 
     265 
     266== 3.3 [=#point303 发表以及回复评论]== 
     267{{{ 
     268    发表以及回复评论: http://cmt.pconline.com.cn/action/comment/create_utf8.jsp 
     269 
     270    请求方式:post  
     271    是否需要登录:匿名不需要,非匿名需要。  
     272    请求参数: 
     273        id:评论id  
     274        anonymous:是否匿名  
     275        columnId:未知  
     276        content:评论内容  
     277        title:文章标题  
     278        replyFloor2:回复的楼层,如果是发表评论则该参数可以不加  
     279        common_session_id:会话id,如果是匿名则该参数可以不加 
     280}}} 
    241281 
    242282== [=#point000 修改历史 ] ==