unionType.unionType.js
1.59 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
module.exports={
namespace:"unionType",
apis:{
getUnionTypeList:{
title:"联盟列表",
url:"/unionType/getUnionTypeList",
params:[
{name: 'name', type: 'String'},
{name: 'unionType', type: 'Number'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
getUnionType:{
title:"查询联盟",
url:"/unionType/getUnionType",
params:[
{name: 'id', type: 'Number'}
]
},
addUnionType:{
title:"添加联盟",
url:"/unionType/addUnionType",
params:[
{name: 'name', type: 'String'},
{name: 'goUrl', type: 'String'}
]
},
updateUnionType:{
title:"修改联盟",
url:"/unionType/updateUnionType",
params:[
{name: 'id', type: 'Number'},
{name: 'name', type: 'String'},
{name: 'goUrl', type: 'String'}
]
},
/* updateStatus:{
title:"修改状态",
url:"/unionType/updateStatus",
params:[
{name: 'id', type: 'Number'},
{name: 'status', type: 'String'}
]
},*/
getUnionTypeUrls:{
title:"获取链接",
url:"/unionType/getUnionTypeUrls",
params:[
{name: 'id', type: 'Number'}
]
},
}
}