简要描述:

  • 活动报名 -域名:www.we7.com.cn

请求URL:

GET/&route=plugin.activity-apply.api.index.getAll

传输参数 city_name = 广州 && is_hot=1/is_discount=1/is_recommand=1

返回分类参数参数:

参数名 是否必须 类型 说明
calssify_title string 活动分类标题
sort int 排序
is_open int 默认为开启
thumb string 图片地址

返回活动参数参数:

参数名 是否必须 类型 说明
title string 活动标题
cash int 金额
registration_time time 开始报名时间
registration_end_time time 报名结束时间
start_time time 活动开始时间
province_id sting 省ID
province_name sting
city_id int 市ID
city_name int
district_id int 县ID
district_name int
street_id int 街道ID
street_name int 街道
address int 详细地址
thumb sting 图片地址

###成功返回参数

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "id": 1,
            "uniacid": 3,
            "calssify_title": "美食频道",
            "sort": 2,
            "thumb": "images/3/2018/03/eN8O1nlM8tymYLlKz3881Lq1mJqmLm.jpg",
            "is_open": 1,
            "create_time": 1566532026,
            "created_at": "2019-08-23 11:47:06",
            "updated_at": null,
            "deleted_at": null,
            "has_many_activity": [
                {
                    "id": 135,
                    "uniacid": 3,
                    "calssify_id": 1,
                    "lecturer_id": 24,
                    "goods_id": 619,
                    "form_id": 1,
                    "title": "美食频道",
                    "limit": 100,
                    "cash": "10.00",
                    "registration_time": 1566555360,
                    "registration_end_time": 1567073760,
                    "start_time": 1565950560,
                    "end_time": 1567073760,
                    "thumb": "images/3/2018/01/EZxXZl7L1EzmBnHC077a3xmmT06L7F.jpg",
                    "banner": "images/3/2018/01/EZxXZl7L1EzmBnHC077a3xmmT06L7F.jpg",
                    "content": "<p>&nbsp;&nbsp;&nbsp;&nbsp;11111112222222<br/></p>",
                    "province_id": 0,
                    "province_name": "0",
                    "city_id": 0,
                    "city_name": "0",
                    "district_id": 0,
                    "district_name": "0",
                    "street_id": 0,
                    "street_name": "0",
                    "address": "111111",
                    "is_premium": 1,
                    "is_open": 1,
                    "is_recommand": 1,
                    "is_hot": 0,
                    "is_discount": null,
                    "created_at": "2019-08-29 20:50:51",
                    "updated_at": "2019-08-29 20:50:51",
                    "deleted_at": null,
                    "status_name": "未签到"
                }
            ]
        },
        {
            "id": 2,
            "uniacid": 3,
            "calssify_title": "音乐频道",
            "sort": 23,
            "thumb": "images/3/2018/03/twe2V72PAepzd9eeD92W6SS9aAd8sE.jpg",
            "is_open": 1,
            "create_time": 1566545359,
            "created_at": "2019-08-23 15:29:19",
            "updated_at": null,
            "deleted_at": null,
            "has_many_activity": []
        }
    ]
}