resourceSort.js
1.12 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
/**
* Created by ty on 2016/6/20.
* 资源分类管理
*/
module.exports={
namespace:"resourceSortManage",
apis:{
resSortIndex:{
title: "资源分类管理列表",
url: '/resources/resSortIndex'
},
addResSort:{
title: "添加资源分类",
url: '/resources/addResSort',
params: [
{name: 'sortName', type: 'string'},
{name: 'platformId', type: 'number'},
{name: 'status', type: 'number'}
]
},
updateResSort:{
title: "修改资源分类",
url: '/resources/updateResSort',
params: [
{name: 'sortId', type: 'number'},
{name: 'sortName', type: 'string'},
{name: 'platformId', type: 'number'},
{name: 'status', type: 'number'}
]
},
deleteResourcesSort:{
title: "删除资源分类",
url: '/resources/deleteResourcesSort',
params: [
{name: 'sortId', type: 'number'}
]
}
}
}