取消课程-展示(最新)

接口地址:/lab/cancelshow(最新)

get方式

参数及格式如下:

  • id:课程id(实际为课程的sale_id)

返回格式:

若请求成功msg返回success;否则msg为相应报错信息

{
    "code": 1,
    "data": {
        "all_num": 4,
        "origin_term": [
            {
                "id": 1,
                "name": "木盘|玩转",
                "time": "7.9(周日)13:10-18:10",
                "tch_name": "文格",
                "tch_img": "img.aliyun.com",
                "detail": "作品-木碗   材质-红樱桃",
                "price": 0.00,
                "notice": "免费预约的该课程已到开课确认时间,无法取消",
                "is_allow": 0,
                "is_use_coupon":0,
                "rate": "20%"
            },
            {
                "id": 12,
                "name": "木盘|玩转",
                "time": "7.9(周日)13:10-18:10",
                "tch_name": "文格",
                "tch_img": "img.aliyun.com",
                "detail": "作品-木碗   材质-红樱桃",
                "price": 1200.00,
                "notice": "购买时使用过优惠,且部分课程已上,无法取消",
                "is_allow": 0,
                "is_use_coupon":1,
                "rate": "20%"
            },
            {
                "id": 98,
                "name": "木盘|玩转",
                "time": "7.9(周日)13:10-18:10",
                "tch_name": "文格",
                "tch_img": "img.aliyun.com",
                "detail": "作品-木碗   材质-红樱桃",
                "price": 1200.00,
                "notice": "是否取消",
                "is_allow": 1,
                "is_use_coupon":0,
                "rate": "20%"
            },
             {
                "id": 9128,
                "name": "木盘|玩转",
                "time": "7.9(周日)13:10-18:10",
                "tch_name": "文格",
                "tch_img": "img.aliyun.com",
                "detail": "作品-木碗   材质-红樱桃",
                "price": 1200.00,
                "notice": "购买时使用过优惠,只能整比取消优惠退还",
                "is_allow": 1,
                "is_use_coupon":0,
                "rate": "20%"
            }
        ],

        "coupon": {
            "id": 12,
            "name": "上海店开业礼券",
            "price": 100.00
        }

    },
    "msg": "success"
}


返回值说明:点击后校验如果有新的已签到课程msg返回:已上课,无法换期

Last updated

Was this helpful?