wiki:appapi/4.6.1

Version 7 (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.6.1

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/2.0/club/getRecommendClubs.do [GET]

    {
        recommendClubs: [
            {    
                clubId:XXX //车友会Id
                level:XXX //车友会等级
                logo: XXX  //车友会LOGO
                memberNum:XXX //车友会人数
                name :XXX  //车友会名称
                seriesName:XXX //车系名称 (type = 2)
                theme: XXX //车友会主题(type = 3)
                area:XXX //地区 (type = 1)
                introduce:XXX //车友会简介
                type:XXX //车友会类型
            }
            ....
        ]
       code:0成功,-1失败
       message:提示信息
       version: 接口版本号如1.0,1.0(latest)表示最新版本

    }

1.2 申请中车友会列表

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

    返回结果新增字段:
    {
        applyClubs: [
            {
                clubId:XXX //车友会Id
                level:XXX //车友会等级
                logo: XXX  //车友会LOGO
                memberNum:XXX //车友会人数
                name :XXX  //车友会名称
                seriesName:XXX //车系名称 (type = 2)
                theme: XXX //车友会主题(type = 3)
                area:XXX //地区 (type = 1)
                introduce:XXX //车友会简介
                type:XXX //车友会类型
            }
            ....
        ]
       code:0成功,-1失败
       message:提示信息
       version: 接口版本号如1.0,1.0(latest)表示最新版本

    }

1.3 话题列表--本周最新

    接口:1.0/subject/getTopSubjectByWeek.do [GET]

    {
      原来的字段没变,增加按照图片的排序,有图片的先排
    }