staticFile.js
1.57 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
43
44
45
46
47
48
49
50
51
/**
* Created by ty on 2016/6/23.
* 静态文件管理
*/
module.exports={
namespace:"staticFile",
apis:{
add:{
title: "静态文件添加",
url: '/staticFileManage/add',
params: [
{name: 'fileType', type: 'Number'},
{name: 'pageTitle', type: 'String'},
{name: 'keyWord', type: 'String'},
{name: 'pageDesc', type: 'String'},
{name: 'content', type: 'String'}
]
},
deleteById:{
title: "静态文件删除",
url: '/staticFileManage/deleteById',
params: [
{name: 'id', type: 'Number'}
]
},
update:{
title: "静态文件修改",
url: '/staticFileManage/update',
params: [
{name: 'id', type: 'Number'},
{name: 'fileType', type: 'Number'},
{name: 'pageTitle', type: 'String'},
{name: 'keyWord', type: 'String'},
{name: 'pageDesc', type: 'String'},
{name: 'content', type: 'String'}
]
},
queryByCondition:{
title: "静态文件查询",
url: '/staticFileManage/queryByCondition',
params: [
{name: 'fileType', type: 'Number'},
{name: 'beginTime', type: 'String'},
{name: 'endTime', type: 'String'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
}
}
}