简要描述:

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

请求URL:

GET/&route=plugin.activity-apply.api.lecturer.getCourse

####传输的参数 列如 id = 2

会员返回参数:

####课程商品

参数名 是否必须 类型 说明
title string 课程商品名称
thumb string 课程商品图片
price int 商品金额
market_price int 原价商品金额

###课程商品总数

参数名 是否必须 类型 说明
count string 程商品总数

返回示例:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "count": 2,
        "couser": {
            "total": 2,
            "per_page": 10,
            "current_page": 1,
            "last_page": 1,
            "next_page_url": null,
            "prev_page_url": null,
            "from": 1,
            "to": 2,
            "data": [
                {
                    "id": 2,
                    "uniacid": 3,
                    "goods_id": 86,
                    "goods_title": "课程1",
                    "is_course": 1,
                    "lecturer_id": 24,
                    "lecturer_name": "123",
                    "is_reward": 1,
                    "see_levels": "6",
                    "created_at": "2018-01-10 15:19:47",
                    "updated_at": "2018-01-10 15:19:47",
                    "deleted_at": null,
                    "has_one_goods": {
                        "id": 86,
                        "uniacid": 3,
                        "brand_id": 0,
                        "type": 1,
                        "status": 1,
                        "display_order": 0,
                        "title": "课程1",
                        "thumb": "https://dev3.yunzshop.com/attachment/images/3/2018/01/jz74g5rGg67rrPFLTT5SWL7pGu5Lxu.jpg",
                        "thumb_url": "a:1:{i:0;s:88:\"https://dev3.yunzshop.com/attachment/images/3/2018/01/jz74g5rGg67rrPFLTT5SWL7pGu5Lxu.jpg\";}",
                        "sku": "个",
                        "description": "",
                        "content": "",
                        "goods_sn": "",
                        "product_sn": "",
                        "market_price": "0.00",
                        "price": "100.00",
                        "cost_price": "0.00",
                        "stock": 7,
                        "reduce_stock_method": 0,
                        "show_sales": 3,
                        "real_sales": 3,
                        "weight": "0.00",
                        "has_option": 0,
                        "is_new": 1,
                        "is_hot": 0,
                        "is_discount": 0,
                        "is_recommand": 1,
                        "is_comment": 0,
                        "is_deleted": 0,
                        "created_at": "2018-01-10 15:19:47",
                        "deleted_at": null,
                        "updated_at": "2018-01-19 09:33:02",
                        "comment_num": 0,
                        "is_plugin": 0,
                        "plugin_id": 0,
                        "virtual_sales": 10,
                        "no_refund": 0,
                        "need_address": 0,
                        "type2": 1,
                        "status_name": "上架"
                    }
                },
                {
                    "id": 3,
                    "uniacid": 3,
                    "goods_id": 87,
                    "goods_title": "课程2",
                    "is_course": 1,
                    "lecturer_id": 24,
                    "lecturer_name": "123",
                    "is_reward": 1,
                    "see_levels": "6",
                    "created_at": "2018-01-10 15:22:55",
                    "updated_at": "2018-01-10 15:22:55",
                    "deleted_at": null,
                    "has_one_goods": {
                        "id": 87,
                        "uniacid": 3,
                        "brand_id": 0,
                        "type": 1,
                        "status": 1,
                        "display_order": 0,
                        "title": "课程2",
                        "thumb": "https://dev3.yunzshop.com/attachment/images/3/2018/01/iJlnOhhh3yzNJT3g2GhgYHrgRlYbYh.png",
                        "thumb_url": null,
                        "sku": "个",
                        "description": "",
                        "content": "",
                        "goods_sn": "",
                        "product_sn": "",
                        "market_price": "0.00",
                        "price": "100.00",
                        "cost_price": "0.00",
                        "stock": 98,
                        "reduce_stock_method": 0,
                        "show_sales": 2,
                        "real_sales": 2,
                        "weight": "0.00",
                        "has_option": 0,
                        "is_new": 0,
                        "is_hot": 1,
                        "is_discount": 0,
                        "is_recommand": 0,
                        "is_comment": 0,
                        "is_deleted": 0,
                        "created_at": "2018-01-10 15:22:55",
                        "deleted_at": null,
                        "updated_at": "2018-01-18 16:42:09",
                        "comment_num": 0,
                        "is_plugin": 0,
                        "plugin_id": 0,
                        "virtual_sales": 0,
                        "no_refund": 0,
                        "need_address": 0,
                        "type2": 1,
                        "status_name": "上架"
                    }
                }
            ]
        }
    }
}