查看V1/other/index special recommend的源代码
←
V1/other/index special recommend
跳转至:
导航
、
搜索
因为以下原因,你没有权限编辑本页:
你刚才请求的操作只对属于该用户组的用户开放:
用户
您可以查看并复制此页面的源代码:
=='''功能说明'''== 获取APP首页推荐数据(类别,活动) 本接口是全平台通用的,即发送请求后,可根据请求中传入的"city_id"平台参数返回发送状态。<br> 例如:如果传入的city_id = 1,返回北京的数据等 <br> ==='''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 {| |- ! width="20%" | '''参数名称''' ! width="20%" | '''是否必须''' ! width="15%" | '''类型''' ! width="55%" | '''描述''' |- | city_id | 是 | int | 以json格式POST传入,城市ID<br/> |- | uid<br/> | 否<br/> | string<br/> | 2.1以后版本加入<br/> |- | version<br/> | 是<br/> | string<br/> | 版本号<br/> |- | opversion<br/> | 是<br/> | string<br/> | 手机系统版本<br/> |- | apk_channel<br/> | 否<br/> | string<br/> | 下载渠道,android客户端必传(3.02以上版本适用)<br/> |} ==='''请求示例'''=== <div style="border:1px dashed #808080;background-color:#f5f6f7"> http://api.fumubang.com/v1/other/index_special_recommend openid=xxxxxxx 父母邦分配 openkey=xxxxxxxx 父母邦分配 city_id = xxxxxxxx 城市ID 参数用POST方式提交 </div> === '''返回方式说明''' === xml或json === '''数据显示规则调整''' === 20150109 按照后台原始设置显示,首页精彩推荐,取消删除售罄规则 === 20141222json结果 === { "activity_type": [ { "category_id": "20", "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100845299.png 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 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 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 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 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",<span style="background-color:#FF0000">//长线1,普通活动0</span> "aid_name": "正式产品[01-14]", "app_activity": "", "sub_title": "正式产品[01-14]2", "aid_banner": "", "aid_sell_num": "0", "aid_people_num": 0, "aid_type": 51,<span style="background-color:#FF0000">//51自由行,50跟团游</span> "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 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 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 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 ,<span style="color:#FF0000"><span style="background-color: rgb(255, 255, 255)">//v1.4接口ios客户端使用的这个字段 显示报名人数</span></span> <span style="color:#0000FF">//v2.0版本纠正:报名总数</span> "aid_people_num":23 <span style="color:#FF0000"><span style="background-color: rgb(255, 255, 255)">//v1.4接口android客户端使用的这个字段 显示报名人数</span></span><span style="color:#0000FF"><span style="background-color: rgb(255, 255, 255)"> </span>//v2.0版本纠正:报名名额</span> } ], "banner": [ { "banner_id": "100223", "type": "", "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X201408291551020.jpg 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 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 http://img2.fumubang.net/tpl_imgpath/banner/X20140829154916331.jpg]", "sortindex": "2" }, { <span style="color:#FF0000"> //上面3个是之前的返回参数</span> "banner_id": "",<span style="color:#FF0000">//专题实例:如果是专题,返回"",活动,返回活动id</span> "type": "2",<span style="color:#FF0000">//类型:1,活动;2,专题</span> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png]",<span style="color:#FF0000">//图片地址</span> "sortindex": "6",<span style="color:#FF0000">//排序</span> "pageurl": "[http://m.fumubang.net/mobile/subject/s20150914 http://m.fumubang.net/mobile/subject/s20150914]",<span style="color:#FF0000">//专题地址:没有返回""</span> "title": "首页banner专题测试",<span style="color:#FF0000">//专题标题</span> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X20151217175230923.png!thumb_640]"<span style="color:#FF0000">,//加缩略图的图片地址</span> "ticket_type":""<span style="background-color:#FF0000">//如果推荐时活动,返回该参数,活动类型为,1演出2景点3通用4酒店,51自由行,50跟团游</span> }, ], "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 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":""<span style="background-color:#FF0000">//如果推荐时活动,返回该参数,活动类型为,1演出2景点3通用4酒店,51自由行,50跟团游</span> }, { "rid": "19", "title": "文章", "description": "文章文章文章", "page_url": "", "show_index": "2", "image_path": "[http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20150420142743671.png 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"<span style="color:#FF0000">,//更新版本</span> "update_normal_desc": "--首页新增推荐位,专题热卖一眼即见\r\n\r\n--新增在线客服,活动疑问秒解决\r\n\r\n非强制更新--更多体验优化,等你来发现\r\n\r\n",<span style="color:#FF0000">//非强制更新</span> "update_force_desc": "强制更新内容"<span style="color:#FF0000">//强制更新</span> }, "pay_channel": {//支付接口开关:on打开,off关闭 "weixin": "on",//微信 "alipay": "on",//支付宝 "unionpay": "off"//银联 } } '''//20160301返回结果''' {<br/> "activity_type": [<br/> {<br/> "name": "双色球",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320]",<br/> "category_id": "28",<br/> "is_tuan": "1",<span style="background-color:#FF0000"> //类型:1为分类列表;3为标签列表;4为周边游;5为长途游</span><br/> "sortindex": "1",<br/> "activity_tag": "双色球",<span style="background-color:#FF0000"> //标签</span><br/> "tag_title": "双色球标签",<span style="background-color:#FF0000">//标签标题</span><br/> "level": 0,<br/> "cate_name": "双色球",<br/> "parent_name": "演出",<br/> "parentid": "27"<br/> },<br/> {<br/> "name": "妈妈用品",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154202588.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154202588.png!thumb_320_320]",<br/> "category_id": "49",<br/> "is_tuan": "1",<br/> "sortindex": "2",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 0,<br/> "cate_name": "妈妈用品",<br/> "parent_name": "精品",<br/> "parentid": "20"<br/> },<br/> {<br/> "name": "亲子乐园",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X2015102715412548.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X2015102715412548.png!thumb_320_320]",<br/> "category_id": "21",<br/> "is_tuan": "1",<br/> "sortindex": "3",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 0,<br/> "cate_name": "亲子乐园",<br/> "parent_name": "精品",<br/> "parentid": "20"<br/> },<br/> {<br/> "name": "儿童话剧",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154029793.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154029793.png!thumb_320_320]",<br/> "category_id": "20",<br/> "is_tuan": "1",<br/> "sortindex": "4",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 1,<br/> "cate_name": "精品购物",<br/> "parent_name": "精品",<br/> "parentid": "0"<br/> },<br/> {<br/> "name": "演出",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100845299.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20140901100845299.png!thumb_320_320]",<br/> "category_id": "27",<br/> "is_tuan": "1",<br/> "sortindex": "5",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 1,<br/> "cate_name": "演出展览",<br/> "parent_name": "演出",<br/> "parentid": "0"<br/> },<br/> {<br/> "name": "精品购物",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516134522824.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516134522824.png!thumb_320_320]",<br/> "category_id": "38",<br/> "is_tuan": "1",<br/> "sortindex": "6",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 0,<br/> "cate_name": "哺乳用品",<br/> "parent_name": "精品",<br/> "parentid": "20"<br/> },<br/> {<br/> "name": "演出票卡",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X201409011008240.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X201409011008240.png!thumb_320_320]",<br/> "category_id": "20",<br/> "is_tuan": "1",<br/> "sortindex": "7",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "level": 1,<br/> "cate_name": "精品购物",<br/> "parent_name": "精品",<br/> "parentid": "0"<br/> },<br/> {<br/> "name": "免费活动",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027152655807.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027152655807.png!thumb_320_320]",<br/> "category_id": "-1",<br/> "is_tuan": "1",<br/> "sortindex": "8",<br/> "activity_tag": "",<br/> "tag_title": "",<br/> "cate_name": "",<br/> "parent_name": "",<br/> "parentid": ""<br/> }<br/> ],<br/> "activity_recommend": [<br/> {<br/> "aid": "865",<br/> "sortindex": "32",<br/> "note": "高颜静酒店测试",<br/> "type": "1",<br/> "aid_name": "sam-自由行+其他产品5天4晚",<br/> "app_activity": "",<br/> "sub_title": "有景点,保险等,5天4晚",<br/> "aid_banner": "2259",<br/> "aid_sell_num": "8",<br/> "aid_people_num": 0,<br/> "aid_type": 51, //1演出;2景点;3通用;4酒店;51自由行;50跟团<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "2832.00"<br/> },<br/> {<br/> "aid": "805",<br/> "sortindex": "31",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "joanna-四天三晚婺源自由行",<br/> "app_activity": "",<br/> "sub_title": "油菜花好漂亮",<br/> "aid_banner": "0",<br/> "aid_sell_num": "0",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "1832.00"<br/> },<br/> {<br/> "aid": "753",<br/> "sortindex": "30",<br/> "note": "4",<br/> "type": "1",<br/> "aid_name": "sam自由行南京+镇江5天4晚",<br/> "app_activity": "",<br/> "sub_title": "南京again,再加上镇江1日游,测试测试。s.dfjdslfjsd,的空间发了款撒的发再来一行,看看情况如何啊",<br/> "aid_banner": "0",<br/> "aid_sell_num": "8",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "3112.00"<br/> },<br/> {<br/> "aid": "839",<br/> "sortindex": "29",<br/> "note": "ming测试",<br/> "type": "1",<br/> "aid_name": "ming-海南+三亚+南山5日4晚自由行",<br/> "app_activity": "",<br/> "sub_title": "万人出游 与邓超"携手奔跑"",<br/> "aid_banner": "2503",<br/> "aid_sell_num": "4",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "2471.00"<br/> },<br/> {<br/> "aid": "773",<br/> "sortindex": "27",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "shuwen马尔代夫自由行6天5晚",<br/> "app_activity": "",<br/> "sub_title": "无副标题",<br/> "aid_banner": "1741",<br/> "aid_sell_num": "23",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "3424.00"<br/> },<br/> {<br/> "aid": "623",<br/> "sortindex": "23",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "sam-跟团游南京4天3晚",<br/> "app_activity": "",<br/> "sub_title": "去南京玩玩",<br/> "aid_banner": "0",<br/> "aid_sell_num": "4",<br/> "aid_people_num": 0,<br/> "aid_type": 50,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "2250.00"<br/> },<br/> {<br/> "aid": "927",<br/> "sortindex": "21",<br/> "note": "100949",<br/> "type": "1",<br/> "aid_name": "sam-自由行同产品多供应商5天3晚",<br/> "app_activity": "",<br/> "sub_title": "南京again,再加上镇江1日游,测试测试。s.dfjdslfjsd,的空间发了款撒的发再来一行,看看情况如何啊",<br/> "aid_banner": "0",<br/> "aid_sell_num": "0",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": ""<br/> },<br/> {<br/> "aid": "965",<br/> "sortindex": "20",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "刘艳测试——五天四晚跟团游",<br/> "app_activity": "",<br/> "sub_title": "游江南水乡",<br/> "aid_banner": "2601",<br/> "aid_sell_num": "8",<br/> "aid_people_num": 0,<br/> "aid_type": 50,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "3500.00"<br/> },<br/> {<br/> "aid": "987",<br/> "sortindex": "20",<br/> "note": "app专享 报名",<br/> "type": "1",<br/> "aid_name": "sam-泰国自由行7天6晚",<br/> "app_activity": "",<br/> "sub_title": "7天6晚,价格有点高",<br/> "aid_banner": "2663",<br/> "aid_sell_num": "1",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "8400.00"<br/> },<br/> {<br/> "aid": "853",<br/> "sortindex": "19",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "刘艳测试 3天2晚自由行",<br/> "app_activity": "",<br/> "sub_title": "自由行",<br/> "aid_banner": "0",<br/> "aid_sell_num": "4",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "3550.00"<br/> },<br/> {<br/> "aid": "717",<br/> "sortindex": "18",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "sam-自由行再来一个4天3晚",<br/> "app_activity": "",<br/> "sub_title": "南京游游,夫子庙,总统府,秦淮河,high起来,4天3晚",<br/> "aid_banner": "0",<br/> "aid_sell_num": "0",<br/> "aid_people_num": 0,<br/> "aid_type": 51,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "2792.00"<br/> },<br/> {<br/> "aid": "743",<br/> "sortindex": "18",<br/> "note": "",<br/> "type": "1",<br/> "aid_name": "liuyan 跟团游 <北京-台湾环岛8日游>",<br/> "app_activity": "",<br/> "sub_title": "【立减100】101登顶,温泉,五花酒店,经典品质",<br/> "aid_banner": "",<br/> "aid_sell_num": "0",<br/> "aid_people_num": 0,<br/> "aid_type": 50,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "",<br/> "min_goods_price": "3500.00"<br/> }<br/> ],<br/> "banner": [<br/> {<br/> "banner_id": "",<br/> "type": "2",<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg]",<br/> "sortindex": "10",<br/> "pageurl": "[http://m.fumubang.net/mobile/child_news/index/3309/2.3 http://m.fumubang.net/mobile/child_news/index/3309/2.3]",<br/> "title": "这个叫做专题标题",<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X20160226172328783.jpg!thumb_640]"<br/> },<br/> {<br/> "banner_id": "",<br/> "type": "2",<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg]",<br/> "sortindex": "9",<br/> "pageurl": "[http://m.fumubang.net/mobile/child_news/index/3293/2.3?is_app=1 http://m.fumubang.net/mobile/child_news/index/3293/2.3?is_app=1]",<br/> "title": "冰灯艺术节",<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X20160226110126577.jpg!thumb_640]"<br/> },<br/> {<br/> "banner_id": "",<br/> "type": "2",<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg]",<br/> "sortindex": "7",<br/> "pageurl": "[http://m.fumubang.net/mobile/zhuanti?name=testzhuanti http://m.fumubang.net/mobile/zhuanti?name=testzhuanti]",<br/> "title": "首页轮播图专题测试",<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X20151221103849841.jpg!thumb_640]"<br/> },<br/> {<br/> "banner_id": "",<br/> "type": "2",<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg]",<br/> "sortindex": "6",<br/> "pageurl": "[http://m.fumubang.net/mobile/subject/s20151111?is_app=1 http://m.fumubang.net/mobile/subject/s20151111?is_app=1]",<br/> "title": "首页轮播图专题测试2",<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X2016011510290245.jpg!thumb_640]"<br/> },<br/> {<br/> "banner_id": "102451",<br/> "type": "1",<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg]",<br/> "sortindex": "",<br/> "pageurl": "",<br/> "title": "",<br/> "ticket_type": "1",<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg!thumb_640 http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg!thumb_640]"<br/> }<br/> ],<br/> "index_recommand": [<br/> {<br/> "rid": "4031",<br/> "title": "测试标签列表",<br/> "description": "测试标签列表",<br/> "page_url": "",<br/> "show_index": "1",<br/> "image_path": "[http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160216172421684.png!thumb_640 http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160216172421684.png!thumb_640]",<br/> "type": "5", <span style="background-color:#FF0000">//推荐类型:1专题,2文章,3活动,4福利,5标签列表,6自定义列表</span><br/> "activity_id": "0",<br/> "article_id": "0",<br/> "city_id": "2",<br/> "activity_tag": "官方活动", <span style="background-color:#FF0000">//活动标签</span><br/> "tag_list_title": "测试标签列表" <span style="background-color:#FF0000">//标签列表标题</span><br/> "action_name":"partner"<span style="background-color:#FF0000">//自定义名称(3.10版本新增)</span> },<br/> {<br/> "rid": "4029",<br/> "title": "福利列表",<br/> "description": "报名免费参加",<br/> "page_url": "",<br/> "show_index": "2",<br/> "image_path": "[http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160201121818915.png!thumb_640 http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160201121818915.png!thumb_640]",<br/> "type": "4",<br/> "activity_id": "0",<br/> "article_id": "0",<br/> "city_id": "2",<br/> "activity_tag": "",<br/> "tag_list_title": ""<br/> },<br/> {<br/> "rid": "4025",<br/> "title": "春节有房",<br/> "description": "春节有房哈哈哈哈",<br/> "page_url": "[http://m.fumubang.net/mobile/subject/s201600206?is_app=1 http://m.fumubang.net/mobile/subject/s201600206?is_app=1]",<br/> "show_index": "3",<br/> "image_path": "[http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160128173730230.png!thumb_640 http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160128173730230.png!thumb_640]",<br/> "type": "1",<br/> "activity_id": "0",<br/> "article_id": "0",<br/> "city_id": "2",<br/> "activity_tag": "",<br/> "tag_list_title": ""<br/> }<br/> ],<br/> "more_activity": 3,<br/> "show_qq": "on",<br/> "kefu_activityDetail": "false",<br/> "kefu_myConfig": "false",<br/> "kefu_orderDetail": "false",<br/> "update_version_info": [<br/> <br/> ],<br/> "pay_channel": {<br/> "weixin": "on",<br/> "alipay": "on",<br/> "unionpay": "on"<br/> }<br/>} 正确返回说明 <activity_type>类别数组<br/><item> <name>后台填写的分类名称</name>后台填写的分类名称<br/><category_id>34</category_id>类别ID<br/><categoryimage>[http://img2.fumubang.net/tpl_imgpath/activity_type/X20140513155515536.png http://img2.fumubang.net/tpl_imgpath/activity_type/X20140513155515536.png]!thumb_320_320</categoryimage>类别icon<br/><is_tuan>1</is_tuan>购买为1,报名为2<br/><sortindex>10</sortindex>排序,已经排列好了,越大越靠前<br/><cate_name>儿童话剧</cate_name>类别名称<br/><parent_name>活动</parent_name>父类名称<br/><level>0</level> 分类 1 为 1级分类<br/><parentid>17</parentid>如果是购买(is_tuan==1)类别的父级出现<br/></item><br/><item> <name>后台填写的分类名称</name>后台填写的分类名称<br/><category_id>29</category_id><br/><categoryimage>[http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516105509914.png http://img2.fumubang.net/tpl_imgpath/activity_type/X20140516105509914.png]!thumb_320_320</categoryimage><br/><is_tuan>2</is_tuan><br/><sortindex>9</sortindex><br/><cate_name>新大乐透</cate_name><br/></item><br/></activity_type><br/><activity_recommend>活动(团购)推荐数组<br/><item><br/><aid>1060</aid>活动ID<br/><sortindex>11</sortindex>排序,已经排列好了,越大越靠前<br/><aid_name>【月饼自己做】9月1号让我们欢聚魔豆乐园,冰皮月饼等你来制作</aid_name>活动名称<br/><aid_banner>[http://img3.fumubang.net/huodong/X20130828141456502.png!thumb_132_90 http://img3.fumubang.net/huodong/X20130828141456502.png!thumb_132_90]</aid_banner>活动banner<br/><aid_sell_num>1</aid_sell_num>已卖出的件数<br/><is_sell>1</is_sell>是否可购买:0:不可购买<br/><is_apply>1</is_apply>是否可报名:0:不可报名<br/><aid_type>1</aid_type>类型 1 报名 2 购买 3 不能购买不能报名<br/><min_market_price>10.00</min_market_price>市场价起<br/><min_goods_price>2.00</min_goods_price>销售价起<br/><is_sell_apply_show>1</is_sell_apply_show><span style="color:#FF0000">是否展示app的购买和报名的信息:1展示2展示 <is_official>1</is_official>//官方活动:1是0否<br/></item><br/></activity_recommend><br/><banner>APP首页banner数据<br/><item><br/><banner_id>3</banner_id> 主题或活动id<br/><type>2</type>类型: 1活动 2 主题<br/><banner/>[http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg]</banner>banner url<br/><sortindex>1</sortindex>排序<br/></item><br/><item><br/><banner_id>100053</banner_id><br/><type>1</type><br/><banner>[http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20140806110923410.jpg]</banner><br/><sortindex/><br/></item><br/></banner><br/><more_activity>3</more_activity>APP首页更多活动类型 类型 1=活动 2=演出 3=精品 4=旅游<br/><show_qq>on</show_qq><span style="color:#FF0000">便于ios在app store审核,on开启qq登录,off关闭qq登录(1.6版本以上返回此字段)<br/><kefu_activityDetail>true</kefu_activityDetail>商户详情开关是否开启客服:true开启,false关闭。<br/><kefu_myConfig>true</kefu_myConfig>设置页开关是否开启客服:true开启,false关闭。<br/><kefu_orderDetail>false</kefu_orderDetail>订单详情是否开启客服:true开启,false关闭。 '''2016-7-29返回json格式示例:''' {<br/> "activity_type": [<br/> {<br/> "name": "双色球",<br/> "categoryimage": "[http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320 http://img2.fumubang.net/tpl_imgpath/activity_type/X20151027154325190.png!thumb_320_320]",<br/> "category_id": "",<br/> "is_tuan": "3",<br/> "sortindex": "1",<br/> "activity_tag": "双色球",<br/> "tag_title": "测试活动标签啦啦啦活动标签为双色球哈哈哈"<br/> },...<br/> ],<br/> "activity_recommend": [<br/> {<br/> "aid": "100675",<br/> "sortindex": "111111",<br/> "note": "xiaopeng跳转",<br/> "type": "0",<br/> "aid_type": 2,<br/> "aid_name": "xi-sam RF test 演出票,电子票",<br/> "app_activity": "1",<br/> "sub_title": "",<br/> "aid_banner": "[http://img3.fumubang.net/huodong/banner/X20151214110929962.jpg!thumb_640_440 http://img3.fumubang.net/huodong/banner/X20151214110929962.jpg!thumb_640_440]",<br/> "aid_sell_num": "100",<br/> "aid_people_num": "0",<br/> "apply_total": 0,<br/> "is_sell": "1",<br/> "is_apply": "0",<br/> "min_market_price": "45",<br/> "min_goods_price": "9.9",<br/> "ticket_type": "1",<br/> "is_sell_apply_show": 1,<br/> "is_official": 1<br/> },...<br/> ],<br/> "banner": [<br/> {<br/> "bannerapp": "[http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg]",<br/> "sortindex": "12",<br/> "type": "1",<br/> "banner_id": "2000055",<br/> "title": "",<br/> "pageurl": "",<br/> "ticket_type": 51,<br/> "banner": "[http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg http://img2.fumubang.net/tpl_imgpath/banner/X20150528111727939.jpg]"<br/> },...<br/> ],<br/> "index_recommand": [<br/> {<br/> "rid": "4271",<br/> "title": "高颜静测试",<br/> "description": "哈哈哈",<br/> "page_url": "[http://m.fumubang.net/mobile/child_news/index/3297/2.3?is_app=1 http://m.fumubang.net/mobile/child_news/index/3297/2.3?is_app=1]",<br/> "show_index": "1",<br/> "image_path": "[http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160120102824405.png!thumb_640 http://img2.fumubang.net/tpl_imgpath/app_index_recommand/X20160120102824405.png!thumb_640]",<br/> "type": "1",<br/> "activity_id": "0",<br/> "article_id": "0",<br/> "city_id": "2",<br/> "activity_tag": "",<br/> "tag_list_title": ""<br/> },...<br/> ],<br/> "more_activity": 3,<br/> "show_qq": "on",<br/> "kefu_activityDetail": "false",<br/> "kefu_myConfig": "false",<br/> "kefu_orderDetail": "false",<br/> "update_version_info": {<br/> "update_version": "2.10#2.20#2.30#2.40#2.50",<br/> "update_normal_desc": "非强制更新提示内容",<br/> "update_force_desc": "强制更新提示内容"<br/> },<br/> "pay_channel": {<br/> "weixin": "on",<br/> "alipay": "on",<br/> "unionpay": "on"<br/> },<br/> "android_apk": { //android最新的apk版本记录<br/> "apk_channel": "360", //渠道<br/> "version": "3.0", //版本号<br/> "apk_url": "[http://img3.fumubang.net/app/android20160729176374.apk http://img3.fumubang.net/app/android20160729176374.apk]", //下载路径<br/> "apk_md5": "8f346eb9b267a7b249813eb1a96a5eef", //apk的md5<br/> "apk_size": "10718632"//apk的size<br/> }<br/>} ==='''错误返回示例'''=== ====参数不全==== <error_code>300000</error_code><br> <error_msg> 参数不全 </error_msg><br> =='''示例代码'''==
返回
V1/other/index special recommend
。
导航菜单
个人工具
创建账户
登录
名字空间
页面
讨论
变种
查看
阅读
查看源代码
查看历史
操作
搜索
导航
wiki首页
API文档说明
数据结构变更
技术开发文档
市场相关文档
产品相关文档
前端相关文档
测试相关文档
运维相关文档
编辑运营文档
入职帮助手册
周末值班安排
开发小组规范
数据查询文档
知识分享计划
wiki语法手册
客户端相关文档
工具箱
链入页面
相关更改
特殊页面
页面信息