operations.icon.js
1.71 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
/**
* Created by ty on 2016/7/5.
* app图标管理
*/
module.exports={
namespace:"icon",
apis:{
getList:{
title: "查询图标列表",
url: '/icon/getList',
params: [
{name: 'type', type: 'Number'},
{name: 'status', type: 'Number'}
]
},
addIcon:{
title: "添加图标",
url: '/icon/addIcon',
params: [
{name: 'icoName', type: 'string'},
{name: 'defaultIco', type: 'string'},
{name: 'ico', type: 'string'},
{name: 'icoKey', type: 'string'},
{name: 'type', type: 'number'}
]
},
getOneIcon:{
title: "根据ID获取图标信息",
url: '/icon/getOneIcon',
params: [
{name: 'id', type: 'number'}
]
},
updateIcon:{
title: "更新图标信息",
url: '/icon/updateIcon',
params: [
{name: 'id', type: 'number'},
{name: 'icoName', type: 'string'},
{name: 'defaultIco', type: 'string'},
{name: 'ico', type: 'string'},
{name: 'icoKey', type: 'string'},
{name: 'type', type: 'number'}
]
},
publishIcon:{
title: "开启图标入口",
url: '/icon/publishIcon',
params: [
{name: 'id', type: 'number'}
]
},
closeIcon:{
title: "关闭图标入口",
url: '/icon/closeIcon',
params: [
{name: 'id', type: 'number'}
]
}
}
}