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

查看拼团专栏详情


接口URL

http://demonuxtapi.dishait.cn/pc/column/read?id=3&group_id=18

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Query参数

参数名示例值参数类型是否必填参数描述
id3Integer专栏ID
group_id18Integer拼团ID

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 3,
		"title": "第一个专栏",
		"cover": "http://...png",
		"try": "描述",
		"content": "专栏介绍",
		"price": "0.00",
		"t_price": "20.00",
		"isend": 1,
		"sub_count": 1,
		"column_courses": [
			{
				"id": 6,
				"title": "第二个图文",
				"price": "0.00",
				"type": "media"
			},
			// ...
		],
		"isbuy": true,
		"group": {
			"id": 18,
			"type": "column",
			"goods_id": 3,
			"price": "12.00",
			"p_num": 2,
			"start_time": "2021-04-10T16:00:00.000Z",
			"end_time": "2021-07-29T16:00:00.000Z"
		}
	},
	"code": 20000
}

错误响应示例

json5
{
	"msg": "fail",
	"data": "该记录不存在"
}