简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2024-12-09 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| token | 否 | string | 凭证 |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| collection_id | 是 | string | 合集id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"collection_id": 12,
"cover": "",
"name": "钢琴",
"content": "<p>钢琴钢琴钢琴钢琴钢琴钢琴钢琴</p>",
"menu": [
{
"video_id": 4,
"collection_id": 12,
"name": "钢琴3",
"is_charge": 1,
"can_see": false,
"can_see_status": 2
},
{
"video_id": 3,
"collection_id": 12,
"name": "钢琴2",
"is_charge": 1,
"can_see": false,
"can_see_status": 2
},
{
"video_id": 2,
"collection_id": 12,
"name": "钢琴",
"is_charge": 2,
"can_see": true,
"can_see_status": 1
}
]
},
"other": []
}错误时返回:
{
"status": 0,
"msg": "验证码错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| collection_id | string | 合集id |
| cover | string | 合集封面 |
| name | string | 合集名称 |
| content | string | 合集宣传页 |
| menu.video_id | string | 目录视频id |
| menu.collection_id | string | 目录合集id |
| menu.name | string | 目录视频名称 |
| menu.is_charge | string | 是否收费【1=收费,2=免费】 |
| menu.can_see | string | 是否可以观看【true=可以,false=不可以】 |
| menu.can_see_status | string | 判断是否可看的背景色;1=可以观看,2=未更新-不可看,3=没有购买-不可看; |
备注:
- 无
作者:admin 创建时间:2024-12-09 18:17
最后编辑:admin 更新时间:2024-12-31 16:42
最后编辑:admin 更新时间:2024-12-31 16:42