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

新增拼团


接口URL

http://demonuxtapi.dishait.cn/admin/s/group/save

请求方式

POST

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
tokeneyj...NjString用户token
schoolid11Integer网校id

请求Body参数

参数名示例值参数类型是否必填参数描述
typecourseString类型:course课程,column专栏
goods_id4Integer课程/专栏id
price4.98Float价格
p_num2Integer成团人数
auto1Integer自动成团:0否1是
expire24Integer拼团时间
status1Integer状态:0禁用1启用
start_time2021-04-03 01:00:00DateTime拼团开始时间
end_time2021-04-04 01:00:00DateTime拼团结束时间

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"id": 4,
		"type": "course",
		"goods_id": 4,
		"price": 4.98,
		"p_num": 2,
		"auto": 1,
		"expire": 24,
		"status": 1,
		"start_time": "2021-04-02T17:00:00.000Z",
		"end_time": "2021-04-03T17:00:00.000Z",
		"school_id": 11,
		"updated_time": "2021-03-25T15:06:09.311Z",
		"created_time": "2021-03-25T15:06:09.311Z"
	},
	"code": 20000
}