Skip to content
关注公众号,获取新课通知

查看秒杀课程详情


接口URL

http://demonuxtapi.dishait.cn/mobile/course/read?id=12&flashsale_id=12

请求方式

GET

Content-Type

form-data

请求Header参数

参数名示例值参数类型是否必填参数描述
appidbd9d01ecc75dbbaaefceString网校唯一appid
tokeneyj...NjString认证令牌

请求Query参数

参数名示例值参数类型是否必填参数描述
id12Integer课程ID
column_id0Integer专栏ID
group_id0Integer拼团ID
flashsale_id12Integer秒杀ID

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 12,
		"title": "unicloud商城全栈开发",
		"cover": "http://...png",
		"try": "<p>unicloud商城全栈开发</p>",
		"price": "10.00",
		"t_price": "20.00",
		"type": "media",
		"sub_count": 0,
		"isbuy": false,
		"flashsale": {
			"id": 12,
			"type": "course",
			"goods_id": 12,
			"price": "10.00",
			"s_num": 10,
			"used_num": 0,
			"start_time": "2021-04-15T16:00:00.000Z",
			"end_time": "2022-04-29T16:00:00.000Z"
		}
	},
	"code": 20000
}