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

立即学习


接口URL

http://demonuxtapi.dishait.cn/mobile/order/learn

请求方式

POST

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
appidbd9d01ecc75dbbaaefceString网校唯一appid
tokeneyj...NjString用户token

请求Body参数

参数名示例值参数类型是否必填参数描述
goods_id108Integer课程/专栏/电子书ID
typecolumnString类型:course课程,column专栏,book电子书

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 26,
		"school_id": 11,
		"user_id": 252,
		"no": "2021620174121_f8sms0jid",
		"status": "success",
		"price": "0.00",
		"total_price": "0.00",
		"type": "default",
		"pay_method": "free",
		"pay_time": "2021-06-20T09:41:21.245Z",
		"updated_time": "2021-06-20T09:41:21.247Z",
		"created_time": "2021-06-20T09:41:21.247Z"
	},
	"code": 20000
}