operations.entrance.js
2.05 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
/**
* Created by ty on 2016/6/21.
* app入口管理
*/
module.exports={
namespace:"entrance",
apis:{
selectEntranceList:{
title: "入口列表",
url:'/entrance/selectEntranceList',
params: [
{name: "platform", type:"string"},
{name: "status", type:"string"},
{name: "page", type:"number"},
{name: "size", type: "number"}
]
},
insertEntrance:{
title: "添加入口",
url: '/entrance/insertEntrance',
params: [
{name: "entryName", type:"string"},
{name: "clickBeforeImg", type:"string"},
{name: "clickAfterImg", type:"string"},
{name: "url", type:"string"},
{name: "platform", type:"string"},
{name: "orderBy", type:"string"},
{name: "status", type:"string"},
{name: "zipUrl", type:"string"},
{name: "channelId", type:"string"},
{name: "gender", type:"string"}
]
},
updateEntrance:{
title: "修改入口",
url: '/entrance/updateEntrance',
params: [
{name: "id", type:"number"},
{name: "entryName", type:"string"},
{name: "clickBeforeImg", type:"string"},
{name: "clickAfterImg", type:"string"},
{name: "url", type:"string"},
{name: "platform", type:"string"},
{name: "orderBy", type:"string"},
{name: "status", type:"string"},
{name: "zipUrl", type:"string"},
{name: "channelId", type:"string"},
{name: "gender", type:"string"}
]
},
publishEntrance:{
title: "更改入口状态",
url: '/entrance/publishEntrance',
params: [
{name: "id", type: "number"},
{name: "status", type: "string"}
]
}
}
}