helpContent.js
2.02 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
module.exports= {
namespace: "helpContent",
apis: {
getAllHelpContent:{
title:"帮助内容列表",
url:"/HelpContentRest/getAllHelpContent",
params:[
{name: 'categoryId', type: 'Number'},
{name: 'platform', type: 'string'}
]
},
addHelpContent:{
title:"添加帮助内容",
url:"/HelpContentRest/addHelpContent",
params:[
{name: 'title', type: 'string'},
{name: 'categoryId', type: 'Number'},
{name: 'content', type: 'string'},
{name: 'platform', type: 'string'}
]
},
updateHelpContent:{
title:"保存编辑帮助内容",
url:"/HelpContentRest/updateHelpContent",
params:[
{name: 'id', type: 'Number'},
{name: 'title', type: 'string'},
{name: 'categoryId', type: 'Number'},
{name: 'content', type: 'string'},
{name: 'platform', type: 'string'}
]
},
deleteHelpContent:{
title:"删除帮助内容",
url:"/HelpContentRest/deleteHelpContent",
params:[
{name: 'id', type: 'Number'}
]
},
getHelpContentByCategoryId:{
title:"帮助内容详情",
url:"/HelpContentRest/getHelpContentByCategoryId",
params:[
{name: 'categoryId', type: 'Number'}
]
},
getSecondCategoryList:{
title:"二级帮助分类",
url:"/HelpCategoryRest/getSecondCategoryList",
params:[]
},
getAllHelpCategory:{
title:"查询所有帮助分类",
url:"/HelpCategoryRest/getAllHelpCategory",
params:[]
},
getHelpCategory:{
title:"查询帮助分类",
url:"/HelpCategoryRest/getHelpCategory",
params:[]
}
}
}