operations.ziplist.js
969 Bytes
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/7/5.
* app图片包
*/
module.exports={
namespace:"ziplist",
apis:{
getZipList:{
title: "加载图片包列表",
url: '/icon/getZipList',
params: [
{name: 'platform', type: 'string'},
{name: 'status', type: 'Number'}
]
},
addZip:{
title: "上传图片包",
url: '/icon/addZip',
params: [
{name: 'zip', type: 'string'},
{name: 'platform', type: 'string'}
]
},
publishZip:{
title: "启用图片包",
url: '/icon/publishZip',
params: [
{name: 'id', type: 'number'}
]
},
closeZip:{
title: "关闭图片包",
url: '/icon/closeZip',
params: [
{name: 'id', type: 'number'}
]
}
}
}