Changes between Version 15 and Version 16 of pcauto_4.7.0/interface


Ignore:
Timestamp:
03/20/2015 10:59:10 AM (11 years ago)
Author:
lanzhenhua
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.7.0/interface

    v15 v16  
    143143||参数名||类型||必须||说明|| 
    144144==== 2.2.5 [=#point2.2.5 直播文章分节点评论] ==== 
     145(接口已完成,请连开发机测试) 
     146[[BR]]mrobot接口:http://mrobot.pcauto.com.cn/v3/cmt/createComment?url=http://cmt.pcauto.com.cn/topic/a0/r0/p1/ps30/t13270146.html&content=A57EWEW[[BR]] 
     147[[BR]]HTTP请求方式:post 
     148[[BR]]是否需要登录:false 
     149[[BR]]返回格式:json 
     150[[BR]]缓存方式: 
     151[[BR]]缓存时间: 
     152[[BR]]说明:当存在[[BR]]请求参数:[[BR]] 
     153||参数名||类型||必须||说明|| 
     154||id/url||String||必须|| 二选一,必填 
     155||content||String||必须||评论内容|| 
     156||title||String||选填||主题|| 
     157||replyFloor2||String||选填||回复楼层(若有)|| 
     158||windowname||String||选填||选填,默认为0|| 
     159||anonymous||String||选填||选填,1为匿名|| 
     160||partId||String||选填||选填,分段落评论的段落id|| 
     161||client||String||选填||选填(最好按实际情况给参)|| 
     162[[BR]]返回数据结构 
     163{{{ 
     164{ 
     165        "brief": "A57EWEW", 
     166        "commentCount": 1, 
     167        "commentId": 28545421, 
     168        "createTime": "2015-03-20 10:43:07", 
     169        "floor": 9, 
     170        "ip": "59.42.240.7", 
     171        "resultCode": 0, 
     172        "resultMsg": "您的评论已经成功发表。注:评论在审核后才能出现在列表中,谢谢!", 
     173        "showName": "广东省广州市网友", 
     174        "status": 0, 
     175        "topicId": 13272513, 
     176        "userId": -1 
     177}}}} 
     178 
     179 
    145180==== 2.2.6 [=#point2.2.6 获取当前直播文章的内容数量] ==== 
    146181=== 2.3 [=#point2.3 违章查询] ===