Workorder/kefu/get more activity title

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

功能说明

根据活动id获取更多活动的信息

URL

http://[域名]/workorder/kefu/get_more_activity_title

返回格式

支持json,xml.通过format参数来控制

HTTP请求方式

POST.可以post的数据为xml或json.

输入参数说明

各个参数请进行URL 编码,编码时请遵守 RFC 1738
(1)公共参数
发送请求时必须传入公共参数,详见公共参数说明。
(2)私有参数
参数名称 是否必须 类型 描述
aid
必须
string
活动id,多个以英文逗号拼接

请求示例

正式环境
http://api.fumubang.com/workorder/kefu/get_more_activity_title
测试环境
http://api.fumubang.net/workorder/kefu/get_more_activity_title
本地环境
http://dev-api.fumubang.net/workorder/kefu/get_more_activity_title

返回参数说明

参数 说明
status
响应状态
cat_id
一级分类id
cat_name
一级分类名称
city_id
站点id
title
活动名称

正确返回示例

{
    "status": "success",
    "data": [
        {
            "aid": "102687",
            "title": "shuwen测试活动---酒店成团",
            "city_id": "北京",
            "cat_id": "63",
            "manager": "展小倩,,yuxue.ji@fumubang.net",
            "cate_name": "家庭旅行",
            "bill_desc": "酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。酒店发票政策这个是。。。。",
            "shop_info": [
                {
                    "shop_id": "65777",
                    "shop_address": "北京市朝阳区亮马河大厦",
                    "shop_hours": "9:00---18:00",
                    "shop_name": "test测试活动商户",
                    "shop_branch_name": "",
                    "shop_rating": "3.5",
                    "shop_contact": "010-58888888",
                    "shop_review_count": "22",
                    "shop_coordinate": "116.471166,39.951363",
                    "shop_url": "http://dev-m.fumubang.net/mobile/shop_detail?sid=65777&from=app"
                }
            ],
               "shop_user": {
                   "shop_user_id": "37",
                   "username": "test测试活动商家2--酒店"
               }
        },
        {
            "aid": "102957",
            "title": "lytest 景点啊景点",
            "city_id": "北京",
            "cat_id": "43",
            "manager": "小花,12345678901,yan1.liu@fumubang.net",
            "cate_name": "家庭旅行",
            "bill_desc": "发票政策测试12345",
            "shop_info": []
        }
    ]
}