剧目详情

请求URL:

  • /dramaInfo

请求方式:

  • POST

参数:

参数名 必选 类型 说明
dramaId 是 string 剧目ID

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "dramaId": "1",
        "title": "重生大秦",
        "episodeId": "2",
        "progress": 10,
        "duration": 60,
        "unlockPrice": 100,
        "isFinished": 0,
        "sort": 0,
        "episodeList": [
            {
                "id": 1,
                "dramaId": "1",
                "episodeId": "1",
                "episodeNumber": 0,
                "unlockPrice": 0,
                "isFree": 1,
                "status": 1,
                "mediaDigest": "",
                "isUnlock": true,
                "createdAt": 1791880306,
                "updatedAt": 1791880306
            },
            {
                "id": 2,
                "dramaId": "1",
                "episodeId": "2",
                "episodeNumber": 0,
                "unlockPrice": 10,
                "isFree": 0,
                "status": 1,
                "mediaDigest": "",
                "isUnlock": true,
                "createdAt": 1791959834,
                "updatedAt": 1791959834
            },
            {
                "id": 3,
                "dramaId": "1",
                "episodeId": "3",
                "episodeNumber": 0,
                "unlockPrice": 10,
                "isFree": 0,
                "status": 1,
                "mediaDigest": "",
                "isUnlock": true,
                "createdAt": 1791959845,
                "updatedAt": 1791959845
            },
            {
                "id": 4,
                "dramaId": "1",
                "episodeId": "4",
                "episodeNumber": 0,
                "unlockPrice": 10,
                "isFree": 0,
                "status": 1,
                "mediaDigest": "",
                "isUnlock": false,
                "createdAt": 1791959858,
                "updatedAt": 1791959858
            }
        ]
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据
-dramaId int 剧目ID
-title string 剧目标题
-episodeId int 上次观看的剧集ID
-progress int 上次观看的剧集进度
-duration int 上次观看的剧集总时长
-isFinished int 上次观看的剧集是否已看完
-episodeList array 剧目的剧集列表
--episodeId int 剧集ID
--unlockPrice int 剧集解锁金额
--isFree int 是否免费观看
--isUnlock bool 是否已解锁

备注

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-10-19 09:37:41

results matching ""

    No results matching ""