Changes between Version 28 and Version 29 of pcauto_drive_1.2.0/interface


Ignore:
Timestamp:
06/30/2015 10:10:48 AM (11 years ago)
Author:
dengyurong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_1.2.0/interface

    v28 v29  
    367367}}} 
    368368==== 2.2.4 [=#point2.2.4 获取最新回复数] ==== 
    369 {{{ 
    370     请求url:http://mrobot.pcauto.com.cn/xsp/x/bip.pcauto.com.cn/intf/sysnotice.jsp?act=getNum&accountId=&siteId=2&status=0&typeIds=2043 
     369(开发已完成,测试请连开发机代理) 
     370{{{ 
     371    请求url:http://mrobot.pcauto.com.cn/xsp/x/bip.pcauto.com.cn/intf/sysnotice.jsp?act=getNum&accountId=&siteId=2&status=0&typeIds=2043,2044 
    371372    HTTP请求方式:GET 
    372373    是否需要登录:否 
     
    381382    非必填参数: 
    382383      status:0是未读,1是已读,-1是全部,默认是0 
    383       typeIds:消息分类ID,2043表示学车宝典帖子回复 
     384      typeIds:消息分类ID,2043表示学车宝典帖子回复,2044表示学车宝典帖子点赞 
    384385 
    385386     
    386387    返回结果: 
    387388      {"code":-1, "message":"缺少参数"}  缺少用户ID或者siteId参数 
    388       消息数 
    389 }}} 
    390 ==== 2.2.5 [=#point2.2.5 获取最新点赞数] ==== 
    391 {{{ 
    392     请求url:http://mrobot.pcauto.com.cn/xsp/x/bip.pcauto.com.cn/intf/sysnotice.jsp?act=getNum&accountId=&siteId=2&status=0&typeIds=2044 
    393     HTTP请求方式:GET 
    394     是否需要登录:否 
    395     返回格式:json或者数字返回 
    396     缓存方式:对象缓存 
    397     缓存时间:4小时 
    398     请求参数: 
    399     必填参数: 
    400       act:getNum 
    401       accountId:用户ID 
    402       siteId:网站ID,2为汽车网 
    403     非必填参数: 
    404       status:0是未读,1是已读,-1是全部,默认是0 
    405       typeIds:消息分类ID,2044表示学车宝典帖子点赞 
    406  
    407      
    408     返回结果: 
    409       {"code":-1, "message":"缺少参数"}  缺少用户ID或者siteId参数 
    410       消息数 
     389      { 
     390        回复我的未读数 
     391        赞我的未读数 
     392      } 
    411393}}} 
    412394=== 2.3 [=#point2.3 话题详情] ===