brandmodel.js
1.74 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:"brandmodel",
apis:{
queryAll:{
title:'初始化列表 & 筛选',
url: '/brandSeries/queryAll',
params: [
{name: 'seriesName', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'}
]
},
add:{
title:'增加',
url: '/brandSeries/add',
params:[
{name: 'seriesName', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'seriesBanner', type: 'String'}
]
},
update:{
title:'修改',
url: '/brandSeries/update',
params:[
{name: 'id', type: 'Number'},
{name: 'seriesName', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'type', type: 'Number'},
{name: 'orderBy', type: 'Number'},
{name: 'seriesBanner', type: 'String'}
]
},
close:{
title:'关闭',
url: '/brandSeries/close',
params:[
{name: 'id', type: 'Number'},
{name: 'type', type: 'Number'}
]
},
open:{
title:'开启',
url: '/brandSeries/open',
params:[
{name: 'id', type: 'Number'},
{name: 'type', type: 'Number'}
]
}
}
}