V1/other/index special recommend

来自技术开发小组内部wiki
跳转至: 导航搜索

功能说明

获取APP首页推荐数据(类别,活动) 本接口是全平台通用的,即发送请求后,可根据请求中传入的"city_id"平台参数返回发送状态。
例如:如果传入的city_id = 1,返回北京的数据等


URL

正式环境
http://api.fumubang.com/v1/other/index_special_recommend
测试环境
http://api.fumubang.net/v1/other/index_special_recommend

格式

json

HTTP请求方式

POST

输入参数说明

uid = xxxxxxxx 用户UID

参数名称 是否必须 类型 描述
city_id int 以json格式POST传入,城市ID
uid

string
2.1以后版本加入
version

string
版本号
opversion

string
手机系统版本
apk_channel

string
下载渠道,android客户端必传(3.02以上版本适用)

请求示例

http://api.fumubang.com/v1/other/index_special_recommend

openid=xxxxxxx 父母邦分配

openkey=xxxxxxxx 父母邦分配

city_id = xxxxxxxx 城市ID


参数用POST方式提交

返回方式说明

xml或json

数据显示规则调整

20150109 按照后台原始设置显示,首页精彩推荐,取消删除售罄规则

20141222json结果

{
"activity_type": [
{
"category_id": "20",
"categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100845299.png",
"is_tuan": "1",
"sortindex": "10",
"level": 1,
"cate_name": "精品购物",
"parent_name": "精品",
"parentid": "0"
},
{
"category_id": "47",
"categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X201409011008240.png",
"is_tuan": "1",
"sortindex": "9",
"level": 0,
"cate_name": "演出票卡",
"parent_name": "演出",
"parentid": "27",
},
{
"category_id": "43",
"categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100356854.png",
"is_tuan": "1",
"sortindex": "8",
"level": 0,
"cate_name": "周边游",
"parent_name": "旅行",
"parentid": "45"
},
{
"category_id": "19",
"categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100938861.png",
"is_tuan": "1",
"sortindex": "7",
"level": 0,
"cate_name": "木偶剧",
"parent_name": "活动",
"parentid": "17"
},
{
"category_id": "0",
"categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100947137.png",
"is_tuan": "2",
"sortindex": "6",
"cate_name": "福利"
}
],
"activity_recommend": [
 {
    "aid": "309",  
    "sortindex": "34",
    "note": "长线测试",
    "type": "1",//长线1,普通活动0
    "aid_name": "正式产品[01-14]",
    "app_activity": "",
    "sub_title": "正式产品[01-14]2",
    "aid_banner": "",
    "aid_sell_num": "0",
    "aid_people_num": ​0,
    "aid_type": 51,//51自由行,50跟团游
    "is_sell": "1",
    "is_apply": "0",
    "min_market_price": "",
    "min_goods_price": ""
 },
{
"aid": "100451",
"sortindex": "11",
"aid_name": "演出票务_实体票_在线支付",
"app_activity": "3",
"sub_title": "实体票_在线支付",
"aid_banner": "http://img3.fumubang.net/huodong/banner/X2014120109453553.jpg!thumb_132_90",
"aid_sell_num": "41",
"aid_people_num": 0,
"aid_type": 2,
"is_sell": "1",
"is_apply": "0",
"min_market_price": "200",
"min_goods_price": "0.01"
},
{
"aid": "100253",
"sortindex": "9",
"aid_name": "Joanna_通用各种改",
"app_activity": "3",
"sub_title": "。。。",
"aid_banner": "http://img3.fumubang.net/huodong/banner/X20141009115125116.png!thumb_132_90",
"aid_sell_num": "75",
"aid_people_num": 0,
"aid_type": 2,
"is_sell": "1",
"is_apply": "0",
"min_market_price": "6.01",
"min_goods_price": "1.01"
},
{
"aid": "100269",
"sortindex": "8",
"aid_name": "报名测试",
"app_activity": "2",
"sub_title": "测试",
"aid_banner": "http://img3.fumubang.net/huodong/banner/X20141210112033649.png!thumb_132_90",
"aid_sell_num": "105",
"aid_people_num": 0,
"aid_type": 1,
"is_sell": "0",
"is_apply": "0",
"apply_total":23 ,//v1.4接口ios客户端使用的这个字段 显示报名人数   //v2.0版本纠正:报名总数
"aid_people_num":23 //v1.4接口android客户端使用的这个字段 显示报名人数 //v2.0版本纠正:报名名额
}
],
"banner": [
{
"banner_id": "100223",
"type": "",
"banner": "http://img2.fumubang.net/tpl_imgpath/banner/X201408291551020.jpg",
"sortindex": "4"
},
{
"banner_id": "100171",
"type": "",
"banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20140829153138257.jpg",
"sortindex": "3"
},
{
"banner_id": "100199",
"type": "",
"banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20140829154916331.jpg",
"sortindex": "2"
},
{    //上面3个是之前的返回参数
    "banner_id": "",//专题实例:如果是专题,返回"",活动,返回活动id
    "type": "2",//类型:1,活动;2,专题
    "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png",//图片地址
    "sortindex": "6",//排序
    "pageurl": "http://m.fumubang.net/mobile/subject/s20150914",//专题地址:没有返回""
    "title": "首页banner专题测试",//专题标题
    "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png!thumb_640",//加缩略图的图片地址
"ticket_type":""//如果推荐时活动,返回该参数,活动类型为,1演出2景点3通用4酒店,51自由行,50跟团游
},
],
 "index_recommand": [//首页-推荐栏
     "rid": "9",
    "title": "专题",//标题
    "description": "专题描述\n专题描述",//描述
    "page_url": "admin001.fumubang.net/app/app_index_recommand/inde",//专题地址
    "show_index": "1",//位置
    "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20150420141823273.jpg",//图标
    "type": "1",//类别:1专题2文章3活动4福利
    "activity_id": "0",//活动id
    "article_id": "0",//文章id
    "city_id": "1",//城市id
 "ticket_type":""//如果推荐时活动,返回该参数,活动类型为,1演出2景点3通用4酒店,51自由行,50跟团游
},
{
    "rid": "19",
    "title": "文章",
    "description": "文章文章文章",
    "page_url": "",
    "show_index": "2",
    "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20150420142743671.png",
    "type": "2",
    "activity_id": "0",
    "article_id": "123",
    "city_id": "1"
},
{
    "rid": "15",
    "title": "福利",
    "description": "福利福利福利",
    "page_url": "",
    "show_index": "3",
    "image_path": "",
    "type": "0",
    "activity_id": "0",
    "article_id": "0",
    "city_id": "1"
}
],
"more_activity": 3,
"show_qq":"on"//便于ios在app store审核,on开启qq登录,off关闭qq登录(1.6版本以上返回此字段),
 "kefu_activityDetail": "false",
 "kefu_myConfig": "true",
 "kefu_orderDetail": "false",
 "update_version_info": {
        "update_version": "2.0.0F#2.1.0F#2.2.0",//更新版本
        "update_normal_desc": "--首页新增推荐位,专题热卖一眼即见\r\n\r\n--新增在线客服,活动疑问秒解决\r\n\r\n非强制更新--更多体验优化,等你来发现\r\n\r\n",//非强制更新
        "update_force_desc": "强制更新内容"//强制更新
    },
    "pay_channel": {//支付接口开关:on打开,off关闭
        "weixin": "on",//微信
        "alipay": "on",//支付宝
        "unionpay": "off"//银联
    }
}

//20160301返回结果

{
    "activity_type": [
        {
            "name": "双色球",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320",
            "category_id": "28",
            "is_tuan": "1",  //类型:1为分类列表;3为标签列表;4为周边游;5为长途游
            "sortindex": "1",
            "activity_tag": "双色球",   //标签
            "tag_title": "双色球标签",//标签标题
            "level": ​0,
            "cate_name": "双色球",
            "parent_name": "演出",
            "parentid": "27"
        },
        {
            "name": "妈妈用品",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154202588.png!thumb_320_320",
            "category_id": "49",
            "is_tuan": "1",
            "sortindex": "2",
            "activity_tag": "",
            "tag_title": "",
            "level": ​0,
            "cate_name": "妈妈用品",
            "parent_name": "精品",
            "parentid": "20"
        },
        {
            "name": "亲子乐园",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X2015102715412548.png!thumb_320_320",
            "category_id": "21",
            "is_tuan": "1",
            "sortindex": "3",
            "activity_tag": "",
            "tag_title": "",
            "level": ​0,
            "cate_name": "亲子乐园",
            "parent_name": "精品",
            "parentid": "20"
        },
        {
            "name": "儿童话剧",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154029793.png!thumb_320_320",
            "category_id": "20",
            "is_tuan": "1",
            "sortindex": "4",
            "activity_tag": "",
            "tag_title": "",
            "level": ​1,
            "cate_name": "精品购物",
            "parent_name": "精品",
            "parentid": "0"
        },
        {
            "name": "演出",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100845299.png!thumb_320_320",
            "category_id": "27",
            "is_tuan": "1",
            "sortindex": "5",
            "activity_tag": "",
            "tag_title": "",
            "level": ​1,
            "cate_name": "演出展览",
            "parent_name": "演出",
            "parentid": "0"
        },
        {
            "name": "精品购物",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516134522824.png!thumb_320_320",
            "category_id": "38",
            "is_tuan": "1",
            "sortindex": "6",
            "activity_tag": "",
            "tag_title": "",
            "level": ​0,
            "cate_name": "哺乳用品",
            "parent_name": "精品",
            "parentid": "20"
        },
        {
            "name": "演出票卡",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X201409011008240.png!thumb_320_320",
            "category_id": "20",
            "is_tuan": "1",
            "sortindex": "7",
            "activity_tag": "",
            "tag_title": "",
            "level": ​1,
            "cate_name": "精品购物",
            "parent_name": "精品",
            "parentid": "0"
        },
        {
            "name": "免费活动",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027152655807.png!thumb_320_320",
            "category_id": "-1",
            "is_tuan": "1",
            "sortindex": "8",
            "activity_tag": "",
            "tag_title": "",
            "cate_name": "",
            "parent_name": "",
            "parentid": ""
        }
    ],
    "activity_recommend": [
        {
            "aid": "865",
            "sortindex": "32",
            "note": "高颜静酒店测试",
            "type": "1",
            "aid_name": "sam-自由行+其他产品5天4晚",
            "app_activity": "",
            "sub_title": "有景点,保险等,5天4晚",
            "aid_banner": "2259",
            "aid_sell_num": "8",
            "aid_people_num": ​0,
            "aid_type": ​51,  //1演出;2景点;3通用;4酒店;51自由行;50跟团
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "2832.00"
        },
        {
            "aid": "805",
            "sortindex": "31",
            "note": "",
            "type": "1",
            "aid_name": "joanna-四天三晚婺源自由行",
            "app_activity": "",
            "sub_title": "油菜花好漂亮",
            "aid_banner": "0",
            "aid_sell_num": "0",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "1832.00"
        },
        {
            "aid": "753",
            "sortindex": "30",
            "note": "4",
            "type": "1",
            "aid_name": "sam自由行南京+镇江5天4晚",
            "app_activity": "",
            "sub_title": "南京again,再加上镇江1日游,测试测试。s.dfjdslfjsd,的空间发了款撒的发再来一行,看看情况如何啊",
            "aid_banner": "0",
            "aid_sell_num": "8",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "3112.00"
        },
        {
            "aid": "839",
            "sortindex": "29",
            "note": "ming测试",
            "type": "1",
            "aid_name": "ming-海南+三亚+南山5日4晚自由行",
            "app_activity": "",
            "sub_title": "万人出游 与邓超"携手奔跑"",
            "aid_banner": "2503",
            "aid_sell_num": "4",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "2471.00"
        },
        {
            "aid": "773",
            "sortindex": "27",
            "note": "",
            "type": "1",
            "aid_name": "shuwen马尔代夫自由行6天5晚",
            "app_activity": "",
            "sub_title": "无副标题",
            "aid_banner": "1741",
            "aid_sell_num": "23",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "3424.00"
        },
        {
            "aid": "623",
            "sortindex": "23",
            "note": "",
            "type": "1",
            "aid_name": "sam-跟团游南京4天3晚",
            "app_activity": "",
            "sub_title": "去南京玩玩",
            "aid_banner": "0",
            "aid_sell_num": "4",
            "aid_people_num": ​0,
            "aid_type": ​50,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "2250.00"
        },
        {
            "aid": "927",
            "sortindex": "21",
            "note": "100949",
            "type": "1",
            "aid_name": "sam-自由行同产品多供应商5天3晚",
            "app_activity": "",
            "sub_title": "南京again,再加上镇江1日游,测试测试。s.dfjdslfjsd,的空间发了款撒的发再来一行,看看情况如何啊",
            "aid_banner": "0",
            "aid_sell_num": "0",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": ""
        },
        {
            "aid": "965",
            "sortindex": "20",
            "note": "",
            "type": "1",
            "aid_name": "刘艳测试——五天四晚跟团游",
            "app_activity": "",
            "sub_title": "游江南水乡",
            "aid_banner": "2601",
            "aid_sell_num": "8",
            "aid_people_num": ​0,
            "aid_type": ​50,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "3500.00"
        },
        {
            "aid": "987",
            "sortindex": "20",
            "note": "app专享 报名",
            "type": "1",
            "aid_name": "sam-泰国自由行7天6晚",
            "app_activity": "",
            "sub_title": "7天6晚,价格有点高",
            "aid_banner": "2663",
            "aid_sell_num": "1",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "8400.00"
        },
        {
            "aid": "853",
            "sortindex": "19",
            "note": "",
            "type": "1",
            "aid_name": "刘艳测试 3天2晚自由行",
            "app_activity": "",
            "sub_title": "自由行",
            "aid_banner": "0",
            "aid_sell_num": "4",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "3550.00"
        },
        {
            "aid": "717",
            "sortindex": "18",
            "note": "",
            "type": "1",
            "aid_name": "sam-自由行再来一个4天3晚",
            "app_activity": "",
            "sub_title": "南京游游,夫子庙,总统府,秦淮河,high起来,4天3晚",
            "aid_banner": "0",
            "aid_sell_num": "0",
            "aid_people_num": ​0,
            "aid_type": ​51,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "2792.00"
        },
        {
            "aid": "743",
            "sortindex": "18",
            "note": "",
            "type": "1",
            "aid_name": "liuyan 跟团游 <北京-台湾环岛8日游>",
            "app_activity": "",
            "sub_title": "【立减100】101登顶,温泉,五花酒店,经典品质",
            "aid_banner": "",
            "aid_sell_num": "0",
            "aid_people_num": ​0,
            "aid_type": ​50,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "",
            "min_goods_price": "3500.00"
        }
    ],
    "banner": [
        {
            "banner_id": "",
            "type": "2",
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg",
            "sortindex": "10",
            "pageurl": "http://m.fumubang.net/mobile/child_news/index/3309/2.3",
            "title": "这个叫做专题标题",
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg!thumb_640"
        },
        {
            "banner_id": "",
            "type": "2",
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg",
            "sortindex": "9",
            "pageurl": "http://m.fumubang.net/mobile/child_news/index/3293/2.3?is_app=1",
            "title": "冰灯艺术节",
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg!thumb_640"
        },
        {
            "banner_id": "",
            "type": "2",
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg",
            "sortindex": "7",
            "pageurl": "http://m.fumubang.net/mobile/zhuanti?name=testzhuanti",
            "title": "首页轮播图专题测试",
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg!thumb_640"
        },
        {
            "banner_id": "",
            "type": "2",
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg",
            "sortindex": "6",
            "pageurl": "http://m.fumubang.net/mobile/subject/s20151111?is_app=1",
            "title": "首页轮播图专题测试2",
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg!thumb_640"
        },
        {
            "banner_id": "102451",
            "type": "1",
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg",
            "sortindex": "",
            "pageurl": "",
            "title": "",
            "ticket_type": "1",
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg!thumb_640"
        }
    ],
    "index_recommand": [
        {
            "rid": "4031",
            "title": "测试标签列表",
            "description": "测试标签列表",
            "page_url": "",
            "show_index": "1",
            "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160216172421684.png!thumb_640",
            "type": "5", //推荐类型:1专题,2文章,3活动,4福利,5标签列表,6自定义列表
            "activity_id": "0",
            "article_id": "0",
            "city_id": "2",
            "activity_tag": "官方活动", //活动标签
            "tag_list_title": "测试标签列表" //标签列表标题
           "action_name":"partner"//自定义名称(3.10版本新增)

    },
        {
            "rid": "4029",
            "title": "福利列表",
            "description": "报名免费参加",
            "page_url": "",
            "show_index": "2",
            "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160201121818915.png!thumb_640",
            "type": "4",
            "activity_id": "0",
            "article_id": "0",
            "city_id": "2",
            "activity_tag": "",
            "tag_list_title": ""
        },
        {
            "rid": "4025",
            "title": "春节有房",
            "description": "春节有房哈哈哈哈",
            "page_url": "http://m.fumubang.net/mobile/subject/s201600206?is_app=1",
            "show_index": "3",
            "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160128173730230.png!thumb_640",
            "type": "1",
            "activity_id": "0",
            "article_id": "0",
            "city_id": "2",
            "activity_tag": "",
            "tag_list_title": ""
        }
    ],
    "more_activity": ​3,
    "show_qq": "on",
    "kefu_activityDetail": "false",
    "kefu_myConfig": "false",
    "kefu_orderDetail": "false",
    "update_version_info": [
        
    ],
    "pay_channel": {
        "weixin": "on",
        "alipay": "on",
        "unionpay": "on"
    }
}

正确返回说明

<activity_type>类别数组
<item>

<name>后台填写的分类名称</name>后台填写的分类名称
<category_id>34</category_id>类别ID
<categoryimage>http://img2.fumubang.net/tpl_imgpath/activity_type/X20140513155515536.png!thumb_320_320</categoryimage>类别icon
<is_tuan>1</is_tuan>购买为1,报名为2
<sortindex>10</sortindex>排序,已经排列好了,越大越靠前
<cate_name>儿童话剧</cate_name>类别名称
<parent_name>活动</parent_name>父类名称
<level>0</level> 分类 1 为 1级分类
<parentid>17</parentid>如果是购买(is_tuan==1)类别的父级出现
</item>
<item>

<name>后台填写的分类名称</name>后台填写的分类名称
<category_id>29</category_id>
<categoryimage>http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516105509914.png!thumb_320_320</categoryimage>
<is_tuan>2</is_tuan>
<sortindex>9</sortindex>
<cate_name>新大乐透</cate_name>
</item>
</activity_type>
<activity_recommend>活动(团购)推荐数组
<item>
<aid>1060</aid>活动ID
<sortindex>11</sortindex>排序,已经排列好了,越大越靠前
<aid_name>【月饼自己做】9月1号让我们欢聚魔豆乐园,冰皮月饼等你来制作</aid_name>活动名称
<aid_banner>http://img3.fumubang.net/huodong/X20130828141456502.png!thumb_132_90</aid_banner>活动banner
<aid_sell_num>1</aid_sell_num>已卖出的件数
<is_sell>1</is_sell>是否可购买:0:不可购买
<is_apply>1</is_apply>是否可报名:0:不可报名
<aid_type>1</aid_type>类型 1 报名 2 购买 3 不能购买不能报名
<min_market_price>10.00</min_market_price>市场价起
<min_goods_price>2.00</min_goods_price>销售价起
<is_sell_apply_show>1</is_sell_apply_show><span style="color:#FF0000">是否展示app的购买和报名的信息:1展示2展示

<is_official>1</is_official>//官方活动:1是0否
</item>
</activity_recommend>
<banner>APP首页banner数据
<item>
<banner_id>3</banner_id> 主题或活动id
<type>2</type>类型: 1活动 2 主题
<banner/>http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg</banner>banner url
<sortindex>1</sortindex>排序
</item>
<item>
<banner_id>100053</banner_id>
<type>1</type>
<banner>http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg</banner>
<sortindex/>
</item>
</banner>
<more_activity>3</more_activity>APP首页更多活动类型 类型 1=活动 2=演出 3=精品 4=旅游
<show_qq>on</show_qq><span style="color:#FF0000">便于ios在app store审核,on开启qq登录,off关闭qq登录(1.6版本以上返回此字段)
<kefu_activityDetail>true</kefu_activityDetail>商户详情开关是否开启客服:true开启,false关闭。
<kefu_myConfig>true</kefu_myConfig>设置页开关是否开启客服:true开启,false关闭。
<kefu_orderDetail>false</kefu_orderDetail>订单详情是否开启客服:true开启,false关闭。


2016-7-29返回json格式示例:

{
    "activity_type": [
        {
            "name": "双色球",
            "categoryimage": "http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320",
            "category_id": "",
            "is_tuan": "3",
            "sortindex": "1",
            "activity_tag": "双色球",
            "tag_title": "测试活动标签啦啦啦活动标签为双色球哈哈哈"
        },...
    ],
    "activity_recommend": [
        {
            "aid": "100675",
            "sortindex": "111111",
            "note": "xiaopeng跳转",
            "type": "0",
            "aid_type": 2,
            "aid_name": "xi-sam RF test 演出票,电子票",
            "app_activity": "1",
            "sub_title": "",
            "aid_banner": "http://img3.fumubang.net/huodong/banner/X20151214110929962.jpg!thumb_640_440",
            "aid_sell_num": "100",
            "aid_people_num": "0",
            "apply_total": 0,
            "is_sell": "1",
            "is_apply": "0",
            "min_market_price": "45",
            "min_goods_price": "9.9",
            "ticket_type": "1",
            "is_sell_apply_show": 1,
            "is_official": 1
        },...
    ],
    "banner": [
        {
            "bannerapp": "http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg",
            "sortindex": "12",
            "type": "1",
            "banner_id": "2000055",
            "title": "",
            "pageurl": "",
            "ticket_type": 51,
            "banner": "http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg"
        },...
    ],
    "index_recommand": [
        {
            "rid": "4271",
            "title": "高颜静测试",
            "description": "哈哈哈",
            "page_url": "http://m.fumubang.net/mobile/child_news/index/3297/2.3?is_app=1",
            "show_index": "1",
            "image_path": "http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160120102824405.png!thumb_640",
            "type": "1",
            "activity_id": "0",
            "article_id": "0",
            "city_id": "2",
            "activity_tag": "",
            "tag_list_title": ""
        },...
    ],
    "more_activity": 3,
    "show_qq": "on",
    "kefu_activityDetail": "false",
    "kefu_myConfig": "false",
    "kefu_orderDetail": "false",
    "update_version_info": {
        "update_version": "2.10#2.20#2.30#2.40#2.50",
        "update_normal_desc": "非强制更新提示内容",
        "update_force_desc": "强制更新提示内容"
    },
    "pay_channel": {
        "weixin": "on",
        "alipay": "on",
        "unionpay": "on"
    },
    "android_apk": {    //android最新的apk版本记录
        "apk_channel": "360",  //渠道
        "version": "3.0", //版本号
        "apk_url": "http://img3.fumubang.net/app/android20160729176374.apk", //下载路径
        "apk_md5": "8f346eb9b267a7b249813eb1a96a5eef", //apk的md5
        "apk_size": "10718632"//apk的size
    }
}

错误返回示例

参数不全

<error_code>300000</error_code>
<error_msg> 参数不全 </error_msg>

示例代码