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

立即拼团


接口URL

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

请求方式

POST

Content-Type

application/x-www-form-urlencoded

请求Header参数

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

请求Body参数

参数名示例值参数类型是否必填参数描述
group_id19Integer拼团ID
group_work_id-Integer组团ID

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 41,
		"school_id": 11,
		"user_id": 1,
		"no": "20218431339_7qz8ml6uv",
		"status": "pendding",
		"price": "0.10",
		"total_price": "10.00",
		"type": "group",
		"updated_time": "2021-08-03T19:13:39.115Z",
		"created_time": "2021-08-03T19:13:39.115Z"
	},
	"code": 20000
}

错误响应示例

json5
{
	"msg": "fail",
	"data": "你之前已经购买过啦,请勿重复下单"
}