gate.js
1.21 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
/**
* Created by LiQZ
* 开关控制
*/
module.exports={
namespace:"gate",
apis:{
gateList: {
title: "列表",
url: "/gate_list",
params: [
{name: "status", type: "number"},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
gateSaveOrUpdate:{
title: "添加更新接口",
url: "/gate_save_update",
params: [
{name: "id", type: "number"},
{name: "metaKey", type: "string"},
{name: "platform", type: "string"},
{name: "title", type: "string"},
{name: "url", type: "string"},
{name: "status", type: "number"},
{name: "price", type: "number"}
]
},
gateDelete:{
title: "删除接口",
url: "/gate_delete",
params: [
{name: "id", type: "number"}
]
},
findGateByID: {
title: "单个查找接口",
url: "/find_gate_by_id",
params: [
{name: "id", type: "number"}
]
}
}
}