Showing
1 changed file
with
113 additions
and
0 deletions
inferface-document/product/videos.md
0 → 100644
1 | +## 1.查询视频列表 | ||
2 | + | ||
3 | +> 接口名: `/videos/queryVideosList` | ||
4 | + | ||
5 | +### 入参 | ||
6 | + | ||
7 | +------------------------- | ||
8 | +|属性名称|类型|例子|说明|是否必填| | ||
9 | +|--------|----|----|----|--------| | ||
10 | +|videoName|string|安琪吗|视频名称|否| | ||
11 | +|startTime|string|1430270609|开始时间|否| | ||
12 | +|endTime|string|1430270609|结束时间|否| | ||
13 | +--------------------- | ||
14 | + | ||
15 | +### 接口返回消息体 | ||
16 | +```json | ||
17 | +{ | ||
18 | + "code": 200, | ||
19 | + "data": { | ||
20 | + "list": [ | ||
21 | + { | ||
22 | + "id":"123", | ||
23 | + "videoName":"abc阿北侧", | ||
24 | + "skn":"21324,2432535,65467547", | ||
25 | + "url":"http://xxxxxxx", | ||
26 | + "note":"c场,那的说法你的", | ||
27 | + "videoSize":"33.4", | ||
28 | + "createTime":"1430270609", | ||
29 | + "updateTime":"1430270609" | ||
30 | + } | ||
31 | + ], | ||
32 | + "page": 1, | ||
33 | + "size": 10, | ||
34 | + "total": 119, | ||
35 | + "totalPage": 12 | ||
36 | + }, | ||
37 | + "md5": "23163c6c8ac58fc85f9cad364c165483", | ||
38 | + "message": "获取列表成功." | ||
39 | +} | ||
40 | +``` | ||
41 | + | ||
42 | + | ||
43 | +## 2.视频编辑 | ||
44 | + | ||
45 | +> 接口名: `/videos/editVideo` | ||
46 | + | ||
47 | +### 入参 | ||
48 | + | ||
49 | +------------------------- | ||
50 | +|属性名称|类型|例子|说明|是否必填| | ||
51 | +|--------|----|----|----|--------| | ||
52 | +|id|String|123|视频id|否| | ||
53 | +|videoName|string|abc阿北侧|视频名称|否| | ||
54 | +|skn|string|21324,2432535,65467547|关联skn|否| | ||
55 | +|url|string|http://xxxxxx|视频链接|否| | ||
56 | +|note|string|c场,那的说法你的|备注|否| | ||
57 | +|videoSize|string|23,4|视频大小|否| | ||
58 | +--------------------- | ||
59 | + | ||
60 | +### 返回 | ||
61 | + | ||
62 | +```json | ||
63 | + | ||
64 | +{ | ||
65 | + "code": 200, | ||
66 | + "data": [], | ||
67 | + "message": "操作成功" | ||
68 | +} | ||
69 | +``` | ||
70 | + | ||
71 | +## 3.校验视频名称是否存在 | ||
72 | + | ||
73 | +> 接口名: `/videos/checkVideoNameExists` | ||
74 | + | ||
75 | +### 入参 | ||
76 | + | ||
77 | +------------------------- | ||
78 | +|属性名称|类型|例子|说明|是否必填| | ||
79 | +|--------|----|----|----|--------| | ||
80 | +|id|String|123|视频id|否| | ||
81 | +|videoName|string|abc阿北侧|视频名称|否| | ||
82 | +--------------------- | ||
83 | + | ||
84 | +### 返回 | ||
85 | + | ||
86 | +```json | ||
87 | + | ||
88 | +{ | ||
89 | + "code": 200, | ||
90 | + "data": true, // true-存在,false-不存在 | ||
91 | + "message": "操作成功" | ||
92 | +} | ||
93 | +``` | ||
94 | + | ||
95 | +## 4.批量删除视频 | ||
96 | +> 接口名: `/videos/batchDeleteVideo` | ||
97 | + | ||
98 | +### 入参 | ||
99 | +------------------------- | ||
100 | +|属性名称|类型|例子|说明|是否必填| | ||
101 | +|--------|----|----|----|--------| | ||
102 | +|id|String|123,13,44|视频id|是| | ||
103 | +--------------------- | ||
104 | + | ||
105 | +响应 : | ||
106 | +```json | ||
107 | +{ | ||
108 | + "code": 200, | ||
109 | + "data": [], | ||
110 | + "md5": "021e75a852bd4f18a3101c6d1c6a1ca0", | ||
111 | + "message": "Product Sort List." | ||
112 | +} | ||
113 | +``` |
-
Please register or login to post a comment