Changes between Version 5 and Version 6 of appapi/4.7


Ignore:
Timestamp:
02/22/2016 06:22:32 PM (10 years ago)
Author:
zhouruxuan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • appapi/4.7

    v5 v6  
    1313   WAP端线上域名:m.pcauto.com.cn/club 
    1414 
    15 === 1. 旧接口修改 
     15=== 1. 车友会接口 
    1616 
    17 ==== 1.1 推荐车友会列表 ==== 
    18  
    19 {{{ 
    20     接口:/appapi/1.0/club/getRecommendClubs.do [GET] 
    21  
    22     返回结果新增字段: 
    23     { 
    24         recommendClubs: [ 
    25             { 
    26                 theme: XXX 
    27             } 
    28             .... 
    29         ] 
    30     } 
    31  
    32 }}} 
    33  
    34 ==== 1.2 申请中车友会列表 ==== 
    35  
    36 {{{ 
    37     接口:/appapi/1.0/club/getApplyClubs.do [GET] 
    38  
    39     返回结果新增字段: 
    40     { 
    41         applyClubs: [ 
    42             { 
    43                 theme: XXX 
    44             } 
    45             .... 
    46         ] 
    47     } 
    48  
    49 }}} 
    50  
    51 ==== 1.3 话题列表--热门 ==== 
    52  
    53 {{{ 
    54     接口:/appapi/1.0/subject/hotSubjectList.do [GET] 
    55  
    56     返回结果新增字段: 
    57     { 
    58         subjectList: [ 
    59             { 
    60                 replyCount: 讨论数 
    61                 viewCount: 阅读数 
    62             } 
    63             .... 
    64         ] 
    65     } 
    66  
    67 }}} 
    68  
    69  
    70 === 2. 新增接口 
    71  
    72 ==== 2.1 话题列表--最新 ==== 
     17==== 1.1 话题列表--最新 ==== 
    7318 
    7419{{{ 
     
    8429                logo:话题封面图 
    8530                replyCount: 讨论数 
    86                 viewCount: 阅读数 
     31                pvCount: 阅读数 
    8732 
    8833            } 
     
    10045 
    10146}}} 
     47 
     48==== 1.2 话题列表--热门 ==== 
     49 
     50{{{ 
     51    接口:/appapi/2.0/subject/hotSubjectList.do [GET] 
     52 
     53    返回结果新增字段: 
     54    { 
     55        subjectList: [ 
     56            { 
     57                replyCount: 讨论数 
     58                pvCount: 阅读数 
     59            } 
     60            .... 
     61        ] 
     62    } 
     63 
     64}}} 
     65 
     66 
     67==== 1.3 话题头部 ==== 
     68 
     69{{{ 
     70    接口:/appapi/2.0/subject/getSubjectHead.do [GET] 
     71 
     72    返回结果新增字段: 
     73    { 
     74        nickName:话题发起人昵称 
     75    } 
     76 
     77}}} 
     78 
     79==== 1.4 话题置顶列表 ==== 
     80 
     81{{{ 
     82    接口:/appapi/1.0/subject/getSubjectTopList.do [GET] 
     83 
     84    返回结果新增字段: 
     85    { 
     86        photoCount:图片数 
     87        title:帖子标题 
     88        topicId:帖子ID 
     89        shareCount:分享数 
     90 
     91    } 
     92 
     93}}} 
     94 
     95==== 1.5 话题详情动态列表(最热) ==== 
     96 
     97{{{ 
     98    接口:/appapi/1.0/subject/getDynaListHot.do [GET] 
     99 
     100    返回结果新增字段: 
     101    { 
     102        photoCount:图片数 
     103        title:帖子标题 
     104        topicId:帖子ID 
     105        shareCount:分享数 
     106 
     107    } 
     108 
     109}}} 
     110 
     111 
     112==== 1.6 话题详情动态列表(最新) ==== 
     113 
     114{{{ 
     115    接口:/appapi/1.0/subject/getDynaListNew.do [GET] 
     116 
     117    返回结果新增字段: 
     118    { 
     119        photoCount:图片数 
     120        title:帖子标题 
     121        topicId:帖子ID 
     122        shareCount:分享数 
     123 
     124    } 
     125 
     126}}} 
     127 
     128=== 2. 车友会接口 
     129 
     130==== 2.1 参与话题接口(即发帖) ==== 
     131 
     132{{{ 
     133    接口:http://bbs.pcauto.com.cn/appapi/1/topic/create.ajax [POST] 
     134 
     135    说明:当不传forumId或者forumId传0时,该帖子归属于哪个圈子交给接口判断 
     136 
     137}}}