简要描述:

  • 团购列表

请求URL:

GET/plugin.package-deliver.frontend.communityGroups.groupList

请求参数

status 类型 说明
0 int 所有
1 int 进行中
2 int 未开始
3 int 已结束

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "list": {
            "total": 3,
            "per_page": 15,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null,
            "from": 1,
            "to": 3,
            "data": [
                {
                    "id": 6,
                    "uniacid": 5,
                    "title": "test",
                    "share_img": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/XNMmM8mJR70ZAD6y77DzhNRLmL8Rn6.png",
                    "start_time": "1970-01-01 08:33:40",
                    "end_time": "1970-01-01 08:33:40",
                    "description": "<p>asdasdasd</p>",
                    "province_id": 120000,
                    "city_id": 120100,
                    "district_id": 120101,
                    "street_id": 120101001,
                    "is_all_area": null,
                    "group_condition_status": 1,
                    "is_limit": 1,
                    "min_order_count": 123,
                    "min_people_count": 123,
                    "min_total_amount": "123.00",
                    "status": 0,
                    "created_at": "2020-11-20 17:52:04",
                    "updated_at": "2020-11-20 17:52:04",
                    "deleted_at": null,
                    "goodsCount": 2,
                    "status_name": "已结束",
                    "goods": [
                        {
                            "id": 38,
                            "community_groups_id": 6,
                            "goods_id": 564,
                            "created_at": "2020-11-20 17:52:04",
                            "updated_at": "2020-11-20 17:52:04",
                            "deleted_at": null,
                            "goodThumb": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/X0l0vMm02VVM3m0aAV3pHx2VVVVM9J.png"
                        },
                        {
                            "id": 39,
                            "community_groups_id": 6,
                            "goods_id": 564,
                            "created_at": "2020-11-20 17:52:04",
                            "updated_at": "2020-11-20 17:52:04",
                            "deleted_at": null,
                            "goodThumb": "https://fjfff-1301507422.cos.ap-guangzhou.myqcloud.com/images/5/2020/08/X0l0vMm02VVM3m0aAV3pHx2VVVVM9J.png"
                        }
                    ]
                }
            ]
        },
		"deliver_id":1,
        "pager": ""
    }
}

返回参数说明:

参数名 类型 说明
id int 团购
title str 活动名称
status_name str 活动状态
goodsCount int 商品数量
share_img str 分享图片
start_time str 开始时间
end_time str 结束时间
goods array 商品数组
goods[goodThumb] str 商品图片
deliver_id int 自提点id