video.index.js
1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* Created by zw on 2016/11/3.
* 视频管理
*/
module.exports = {
namespace: "video",
apis: {
/************************************产品视频管理*************************************/
queryVideosList: {
title: "视频列表",
url: "/videos/queryVideosList",
params: {
page: {type: Number},
size: {type: Number},
skn:{type: String},
videoName: {type: String}
}
},
editVideo: {
title: "添加视频",
url: "/videos/editVideo",
params: {
id: {type: Number},
videoName: {type: String},
skn: {type: String},
url:{type: String},
fileName: {type: String},
videoSize:{type: String},
note:{type: String}
}
},
delVideo: {
title: "删除视频",
url: "/videos/batchDeleteVideo",
params: {
id: {type: Number}
}
}
}
};