wiki:appapi/4.7

Version 5 (modified by huangchengwei, 10 years ago) (diff)

--

需求原型: http://trac.pc.com.cn/mobile/pototype/pcauto-club/4.6.1/pre1/#p=1_1热门话题页改版

1. 车友会提供APP接口4.7

PC端开发环境域名:dev18.pcauto.com.cn

WAP端开发环境域名:dev43.pcauto.com.cn:83/club

PC端线上环境域名:club.pcauto.com.cn

WAP端线上域名:m.pcauto.com.cn/club

1. 旧接口修改

1.1 推荐车友会列表

    接口:/appapi/1.0/club/getRecommendClubs.do [GET]

    返回结果新增字段:
    {
        recommendClubs: [
            {
                theme: XXX
            }
            ....
        ]
    }

1.2 申请中车友会列表

    接口:/appapi/1.0/club/getApplyClubs.do [GET]

    返回结果新增字段:
    {
        applyClubs: [
            {
                theme: XXX
            }
            ....
        ]
    }

1.3 话题列表--热门

    接口:/appapi/1.0/subject/hotSubjectList.do [GET]

    返回结果新增字段:
    {
        subjectList: [
            {
                replyCount: 讨论数
                viewCount: 阅读数
            }
            ....
        ]
    }

2. 新增接口

2.1 话题列表--最新

    接口:/appapi/1.0/subject/newestSubjectList.do [GET]

    返回结果参考1.3热门话题(注:提供接口后,把字段参数补充完整):
    {
        subjectList: [
            {
                subjectId:话题Id
                title:话题标题
                description: 话题导语
                logo:话题封面图
                replyCount: 讨论数
                viewCount: 阅读数

            }
            ....
        ]
       code:0成功,-1失败
       message:提示信息
       version: 接口版本号如1.0,1.0(latest)表示最新版本

       pageCount: 总页数,
       pageNo: 页码
       pageSize: 页码条数,
       total: 总数
    }