简要描述:

-课程供应链--课程详情

请求域名:

  • http://xx.com

请求URL:

plugin.course-supply.api.course.info

请求 参数::

参数名 是否必须 类型 说明
id int 课程id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "data": {
        "id": 1,
        "uniacid": 15,
        "product_id": 0,
        "name": "测试课程111",
        "cover": "http://119.91.205.224/static/upload/images/15/2022/09/510520746843faf1408faa2e34a33888.png",
        "status": 0,
        "detail": "<p>11111111111111111111111</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2222222222</p><p style=\"margin: 0;\"><img style=\"max-width: 100%; vertical-align: middle;\" src=\"https://release.yunzmall.com/static/upload/images/1/2023/02/b4307d325b4f18b09b91bb996ea7ce56.png\" /></p><p style=\"margin: 0;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 66666666666</p>",
        "code": "课程码",
        "sale_mode": 1,
        "time_limit": 0,
        "sort": 0,
        "lecturer_id": 1,
        "reward": "10.00",
        "supply_id": 0,
        "source_goods_id": 0,
        "yz_goods_id": 150998,
        "middleground_configuration_id": 1,
        "goods_id": 251,
        "created_at": 0,
        "updated_at": 0,
        "views": 0,
        "course_id": 3,
		"price":10,
    }
}

返回参数data说明:

参数名 类型 说明
course_id int 课程id
name string 课程名称
cover string 课程封面
detail string 课程简介
views int 课程浏览量
price double 价格
goods_id int 商品id(用来跳转商品详情页)
sale_mode int 销售模式(1无限制 2 指定期限)
time_limit int 限制天数