主页
开发中GET
http://127.0.0.1:8080/homeContent主页
请求参数
Query 参数
filter
boolean
是否进行分类过滤
示例值:
true
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
class
array [object {2}]
分类
type_id
string
分类id
分类id
示例值:
dianying
type_name
string
分类名
分类名
filters
object
筛选
dianying
array [object {3}]
必需
分类id,就是上面Class对象中的分类id的值
lianxuju
array [object {3}]
必需
list
array [object {4}]
首页最新视频列表
vod_id
string
视频id
vod_name
string
视频名
vod_pic
string
视频封面
vod_remarks
string
必需
视频备注,展示在视频名上方
示例
{
"class": [
{
"type_id": "dianying",
"type_name": "电影"
},
{
"type_id": "lianxuju",
"type_name": "连续剧"
}
],
"filters": {
"dianying": [
{
"key": "0",
"name": "分类",
"value": [
{
"n": "全部",
"v": "dianying"
},
{
"n": "动作片",
"v": "dongzuopian"
}
]
}
],
"lianxuju": [
{
"key": 0,
"name": "分类",
"value": [
{
"n": "全部",
"v": "lianxuju"
},
{
"n": "国产剧",
"v": "guochanju"
},
{
"n": "港台剧",
"v": "gangtaiju"
}
]
}
]
},
"list": [
{
"vod_id": "1901",
"vod_name": "判决",
"vod_pic": "https://pic.imgdb.cn/item/614631e62ab3f51d918e9201.jpg",
"vod_remarks": "6.8"
},
{
"vod_id": "1908",
"vod_name": "移山的父亲",
"vod_pic": "https://pic.imgdb.cn/item/6146fab82ab3f51d91c01af1.jpg",
"vod_remarks": "6.7"
}
]
}
最后修改时间: 1 年前