On this page
获取可用优惠券列表
接口URL
请求方式
GET
Content-Type
form-data
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
appid | bd9d01ecc75dbbaaefce | String | 是 | 网校唯一appid |
成功响应示例
json5
{
"msg": "ok",
"data": [
{
"id": 18,
"type": "course",
"goods_id": 542,
"price": "20.00",
"c_num": 100000,
"received_num": 0,
"start_time": "2021-05-15T11:05:00.000Z",
"end_time": "2022-07-30T16:00:00.000Z",
"value": {
"id": 542,
"title": "uni-app实战视频点播app小程序"
}
},
// ...
],
"code": 20000
}