helpCategory.js
1.44 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
module.exports= {
namespace: "helpCategory",
apis: {
getAllHelpCategory:{
title:"所有帮助分类列表",
url:"/HelpCategoryRest/getAllHelpCategory",
params:{
platform:{type:String}
}
},
addCategory:{
title:"添加帮助分类",
url:"/HelpCategoryRest/addCategory",
params:[
{name: 'categoryName', type: 'String'},
{name: 'parentId', type: 'Number'},
{name: 'platform', type: 'String'}
]
},
updateHelpCategory:{
title:"保存修改帮助分类",
url:"/HelpCategoryRest/updateHelpCategory",
params:[
{name: 'id', type: 'Number'},
{name: 'categoryName', type: 'String'},
{name: 'parentId', type: 'Number'},
{name: 'platform', type: 'String'}
]
},
deleteHelpCategory:{
title:"删除帮助分类",
url:"/HelpCategoryRest/deleteHelpCategory",
params:[
{name: 'id', type: 'Number'},
{name: 'parentId', type: 'Number'}
]
},
getCategoryListByPid:{
title:"帮助分类详情",
url:"/HelpCategoryRest/getCategoryListByPid",
params:[
{name: 'parentId', type: 'Number'}
]
}
}
}