plusStar.js
2.54 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
62
63
64
65
66
67
68
69
70
71
72
73
/**
* Created by ty on 2016/6/20.
* plus/Star列表
*/
module.exports={
namespace:"plusStarManager",
apis:{
getList:{
title: "Plus/Star 列表数据",
url: '/guang/plustar/getList',
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
{name: 'brandType', type: 'String'},
{name: 'status', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'gender', type: 'String'}
]
},
addPlustar:{
title: "Plus/Star列表-添加",
url: '/guang/plustar/addPlustar',
params: [
{name: 'brandType', type: 'String'},
{name: 'status', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'gender', type: 'String'},
{name: 'coverImg', type: 'String'},
{name: 'bannerImg', type: 'String'},
{name: 'bannerTitle', type: 'String'},
{name: 'orderBy', type: 'String'}
]
},
updatePlustar:{
title: "Plus/Star列表-修改",
url: '/guang/plustar/updatePlustar',
params: [
{name: 'id', type: 'String'},
{name: 'brandType', type: 'String'},
{name: 'status', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'gender', type: 'String'},
{name: 'coverImg', type: 'String'},
{name: 'bannerImg', type: 'String'},
{name: 'bannerTitle', type: 'String'},
{name: 'orderBy', type: 'String'}
]
},
getDetail:{
title: "Plus/Star列表-编辑",
url: '/guang/plustar/getDetail',
params: [
{name: 'id', type: 'Number'},
{name: 'brandType', type: 'String'},
{name: 'status', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'gender', type: 'String'},
{name: 'coverImg', type: 'String'},
{name: 'bannerImg', type: 'String'},
{name: 'bannerTitle', type: 'String'},
{name: 'orderBy', type: 'String'}
]
},
delPlustar:{
title: "Plus/Star列表-删除",
url: '/guang/plustar/delPlustar',
params: [
{name: 'id', type: 'Number'}
]
}
}
}