resource.platform.js
1.13 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:"platformManage",
apis:{
findResPlatforms:{
title: "资源管理列表",
url: '/resources/findResPlatforms'
},
addResPlatform:{
title: "添加平台",
url: '/resources/addResPlatform',
params: [
{name: 'platformName', type: 'string'},
{name: 'platformFlag', type: 'string'},
{name: 'status', type: 'number'}
]
},
updateResPlatform:{
title: "更新平台信息",
url: '/resources/updateResPlatform',
params: [
{name: 'platformId', type: 'number'},
{name: 'platformName', type: 'string'},
{name: 'platformFlag', type: 'string'},
{name: 'status', type: 'number'}
]
},
deleteResPlatform:{
title: "删除平台",
url: '/resources/deleteResPlatform',
params: [
{name: 'platformId', type: 'number'}
]
}
}
}