简要描述:

  • 获取门店定金阶梯团活动详情

请求域名:

plugin.deposit-ladder.frontend.store.index.activity

参数:

参数名 是否必须 类型 说明
id int 活动id

返回示例:

正确时返回:

{
    "data": {
        "activity": {
            "id": 8,
            "uniacid": 1,
            "goods_id": 161,
            "bind_goods_id": 77,
            "goods_option_id": 0,
            "goods_option_title": null,
            "activity_name": "sdjfsdk",
            "activity_start": 1638115200,
            "activity_end": 1733500800,
            "limit": 1,
            "limit_total": 1,
            "ladder_type": 0,
            "activity_explain": "<p>2321312</p>",
            "deposit": "1.00",
            "agreement": 1,
            "contract_id": 0,
            "agreement_content": "2332",
            "status": 0,
            "fail_text": null,
            "created_at": "2021-12-30 14:55:29",
            "updated_at": "2022-01-12 14:47:25",
            "deleted_at": null,
            "theme_color": "",
            "ranking_list": 0,
            "order_count": 1,
            "sale_count": 1,
            "commission": 0,
            "activity_order_count": 1,
            "activity_order": [
                {
                    "id": 1,
                    "activity_id": 8,
                    "member_id": 7,
                    "total": 1,
                    "created_at": "2022-01-12 16:32:56",
                    "member": {
                        "uid": 7,
                        "nickname": "12345678005",
                        "avatar": "/static/images/site_logo.png",
                        "avatar_image": "http://localhost:8788/static/images/site_logo.png",
                        "username": "12345678005"
                    }
                }
            ],
            "bind_goods": {
                "id": 77,
                "title": "123",
                "thumb": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg",
                "price": "345.00",
                "has_option": 0,
                "thumb_src": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg"
            },
            "goods_option": null,
            "ladder": [
                {
                    "id": 8,
                    "activity_id": 8,
                    "deal_num": 1,
                    "sale_num": null,
                    "deal_price": "20.00",
                    "created_at": "2021-12-30 14:55:29",
                    "updated_at": null
                }
            ],
            "share": {
                "id": 7,
                "activity_id": 8,
                "share_title": "sdjfsdk-",
                "share_img": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg",
                "share_desc": "2321312",
                "poster": 0,
                "created_at": "2021-12-30 14:55:29",
                "updated_at": "2021-12-30 14:55:29",
                "share_img_src": "http://localhost:8788/static/upload/image/c74014b644375213938dbe5acca4b363.jpeg"
            }
        },
        "member": {
            "credit1": "0.00",
            "avatar_image": "",
            "username": null
        },
        "cservice": ""
    }
}

返回参数说明:

参数名 类型 说明
activity.id int 活动ID
activity.goods_id int 商品ID
activity.bind_goods_id int 绑定商品ID
activity.goods_option_id int 绑定商品规格ID
activity.goods_option_title string 绑定商品规格标题
activity.activity_name string 活动名称
activity.activity_start int 活动开始时间
activity.activity_end int 活动结束时间
activity.limit int 每单最多购买数量
activity.limit_total int 每个会员最多购买数量
activity.ladder_type int 梯度判断类别,0按成交人数,1按销售数量
activity.activity_explain string 活动说明
activity.deposit float 活动定金
activity.agreement int 定金协议:0电子合同,1弹窗确认
activity.contract_id int 选用的电子合同ID
activity.agreement_content string 弹窗协议内容
activity.status int 活动状态:0进行中,1已失效,2最终订单生成失败,3已结束
activity.theme_color string 活动主题色
activity.order_count int 该活动已下定金人数
activity.sale_count int 该活动已销售数量
activity.commission int 分销金额,0的话显示分享就行
ladder array 梯度信息
ladder.deal_num int 成交人数
ladder.sale_num int 销售数量
ladder.deal_price int 成交价
activity_order array 定金订单信息
activity_order.member array 定金订单会员信息
bind_goods array 绑定商品信息
bind_goods.id int 绑定商品id
bind_goods.title string 绑定商品名称
bind_goods.thumb string 绑定商品图片,thumb_src绝对路径
bind_goods.price float 绑定商品价格
bind_goods.has_option int 绑定商品是否开启了规格,0已开启,1未开启
goods_option array 绑定商品的规格信息
goods_option.title string 绑定商品的规格标题
cservice array 客服信息
share array 分享信息
share.share_title string 分享标题
share.share_img string 分享图片
share.share_desc string 分享描述