Commit 1ef18499a1a0ad41487d38db262e74454be73d47
1 parent
fbed788a
定义图片信息
Showing
1 changed file
with
21 additions
and
24 deletions
12.内容库云/2.1 获取点播列表接口Server.md
| ... | ... | @@ -43,7 +43,9 @@ HTTP GET |
| 43 | 43 | | cpName| string | true | 所属cp, 没有所属CP的,用SPName代替 | |
| 44 | 44 | | createDate| string | true | 内容创建时间 | |
| 45 | 45 | | verTimestamp| long | true | 最后修改时间,时间戳 时间毫秒值 | |
| 46 | -| imgJson| map | false | 图片信息图片:json格式 <br/> type: 图片类型:titleImage:标题图片;contentImage:组图图片| | |
| 46 | +| img| map | false | 内容图片信息| | |
| 47 | +| groupImg| map | false |组图图片信息,仅对组图内容有效 useType: 1分辨率最小的,多分辨率依次递增| | |
| 48 | + | |
| 47 | 49 | |
| 48 | 50 | 返回JSON格式的节目元数据信息,json示例如下: |
| 49 | 51 | |
| ... | ... | @@ -59,38 +61,33 @@ HTTP GET |
| 59 | 61 | "categoryId": "100001/72/73", |
| 60 | 62 | "categoryName": "电影/喜剧/电影喜剧子分类", |
| 61 | 63 | "desc": "黄家驹宣传片", |
| 62 | - "imgJson": [ | |
| 64 | + "img": [ | |
| 63 | 65 | { |
| 64 | 66 | "format": "485*303", |
| 65 | - "type": "contentImage", | |
| 66 | 67 | "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/485/h/303", |
| 67 | - "desc": "" | |
| 68 | - }, | |
| 69 | - { | |
| 70 | - "format": "224*398", | |
| 71 | - "type": "contentImage", | |
| 72 | - "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/398", | |
| 73 | - "desc": "" | |
| 74 | - }, | |
| 75 | - { | |
| 76 | - "format": "316*506", | |
| 77 | - "type": "contentImage", | |
| 78 | - "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/316/h/506", | |
| 79 | - "desc": "" | |
| 80 | - }, | |
| 81 | - { | |
| 82 | - "format": "112*63", | |
| 83 | - "type": "contentImage", | |
| 84 | - "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/112/h/63", | |
| 85 | - "desc": "" | |
| 86 | 68 | }, |
| 87 | 69 | { |
| 88 | 70 | "format": "224*126", |
| 89 | - "type": "contentImage", | |
| 90 | 71 | "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/126", |
| 91 | - "desc": "" | |
| 92 | 72 | } |
| 93 | 73 | ], |
| 74 | + "groupImg":[ | |
| 75 | + { | |
| 76 | + "imgInfo":[ | |
| 77 | + { | |
| 78 | + "format": "224*126", | |
| 79 | + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/126", | |
| 80 | + "useType":"1" //使用方式 | |
| 81 | + }, | |
| 82 | + { | |
| 83 | + "format": "640*320", | |
| 84 | + "url": "http://y2017.qn.cnliveimg.com/60/img/2017/0818/ff8080815def9dcb015df428048800e6/000006.jpg?imageView2/1/w/224/h/126", | |
| 85 | + "useType":"2" | |
| 86 | + } | |
| 87 | + ] | |
| 88 | + "desc": "" | |
| 89 | + } | |
| 90 | + ] | |
| 94 | 91 | "rates": "2", |
| 95 | 92 | "cpName": "测试账号", |
| 96 | 93 | "subTitle": null, | ... | ... |