|
|
## 1.查询视频列表
|
|
|
|
|
|
> 接口名: `/videos/queryVideosList`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|videoName|string|安琪吗|视频名称|否|
|
|
|
|startTime|string|1430270609|开始时间|否|
|
|
|
|endTime|string|1430270609|结束时间|否|
|
|
|
---------------------
|
|
|
|
|
|
### 接口返回消息体
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"id":"123",
|
|
|
"videoName":"abc阿北侧",
|
|
|
"skn":"21324,2432535,65467547",
|
|
|
"url":"http://xxxxxxx",
|
|
|
"note":"c场,那的说法你的",
|
|
|
"videoSize":"33.4",
|
|
|
"createTime":"1430270609",
|
|
|
"updateTime":"1430270609"
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
|
|
"size": 10,
|
|
|
"total": 119,
|
|
|
"totalPage": 12
|
|
|
},
|
|
|
"md5": "23163c6c8ac58fc85f9cad364c165483",
|
|
|
"message": "获取列表成功."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
## 2.视频编辑
|
|
|
|
|
|
> 接口名: `/videos/editVideo`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|id|String|123|视频id|否|
|
|
|
|videoName|string|abc阿北侧|视频名称|否|
|
|
|
|skn|string|21324,2432535,65467547|关联skn|否|
|
|
|
|url|string|http://xxxxxx|视频链接|否|
|
|
|
|note|string|c场,那的说法你的|备注|否|
|
|
|
|videoSize|string|23,4|视频大小|否|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 3.校验视频名称是否存在
|
|
|
|
|
|
> 接口名: `/videos/checkVideoNameExists`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|id|String|123|视频id|否|
|
|
|
|videoName|string|abc阿北侧|视频名称|否|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
```json
|
|
|
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": true, // true-存在,false-不存在
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 4.批量删除视频
|
|
|
> 接口名: `/videos/batchDeleteVideo`
|
|
|
|
|
|
### 入参
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|id|String|123,13,44|视频id|是|
|
|
|
---------------------
|
|
|
|
|
|
响应 :
|
|
|
```json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "021e75a852bd4f18a3101c6d1c6a1ca0",
|
|
|
"message": "Product Sort List."
|
|
|
}
|
|
|
``` |
...
|
...
|
|