articleCategory.js
1.55 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
/**
* Created by ty on 2016/6/20.
* 文章分类管理
*/
module.exports={
namespace:"articleCategoryManager",
apis:{
getList:{
title: "文章分类管理列表数据",
url: '/guang/article/sort/getList',
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
updateSort:{
title: "文章分类管理-编辑",
url: '/guang/article/sort/updateSort',
params: [
{name: 'id', type: 'Number'},
{name: 'parentId', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'name', type: 'String'},
{name: 'advertCode', type: 'String'},
{name: 'appType', type: 'Number'}
]
},
addSort:{
title: "文章分类管理-添加",
url: '/guang/article/sort/addSort',
params: [
{name: 'parentId', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'name', type: 'String'},
{name: 'advertCode', type: 'String'},
{name: 'appType', type: 'Number'}
]
},
delSort:{
title: "文章分类管理-删除",
url: '/guang/article/sort/delSort',
params: [
{name: 'id', type: 'Number'}
]
}
}
}