search.js
5.83 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/**
* Created by ty on 2016/6/23.
* 销售类目
*/
module.exports={
namespace:"operationsSearch",
apis:{
getPositionList:{
title: "广告位置列表",
url: '/operations/search/getPositionList',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number'}
]
},
updatePositionInfo:{
title: "修改位置状态",
url: '/operations/search/updatePositionInfo',
params: [
{name: 'id', type: 'number'},
{name: 'status', type: 'number'},
{name: 'title', type: 'string'}
]
},
selectPostionById:{
title: "修改位置状态",
url: '/operations/search/selectPostionById',
params: [
{name: 'id', type: 'number'}
]
},
insertPositionInfo:{
title: "修改位置状态",
url: '/operations/search/insertPositionInfo',
params: [
{name: 'title', type: 'string'}
]
},
queryPositionListForDown:{
title: "修改位置状态",
url: '/operations/search/queryPositionListForDown',
params: [
]
},
getTempletList:{
title: "广告模板列表",
url: '/operations/search/getTempletList',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number'}
]
},
selectTempletById:{
title: "获取模板详情",
url: '/operations/search/selectTempletById',
params: [
{name: 'id', type: 'number'}
]
},
updateTempletInfo:{
title: "修改模板信息",
url: '/operations/search/updateTempletInfo',
params: [
{name: 'id', type: 'number'},
{name: 'caption', type: 'string'},
{name: 'templet', type: 'string'},
{name: 'status', type: 'string'}
]
},
updateTempletStatus:{
title: "修改模板状态",
url: '/operations/search/updateTempletStatus',
params: [
{name: 'id', type: 'number'},
{name: 'status', type: 'number'}
]
},
insertTemplet:{
title: "新增模板",
url: '/operations/search/insertTemplet',
params: [
{name: 'caption', type: 'string'},
{name: 'templet', type: 'string'}
]
},
queryTempletListForDown:{
title: "新增模板",
url: '/operations/search/queryTempletListForDown',
params: [
]
},
getBannerList:{
title: "广告管理列表",
url: '/operations/search/getBannerList',
params: [
{name: 'page', type: 'number'},
{name: 'size', type: 'number'},
{name: 'positionId', type: 'number'},
{name: 'caption', type: 'string'}
]
},
selectBannerById:{
title: "获取广告管理详情",
url: '/operations/search/selectBannerById',
params: [
{name: 'id', type: 'number'}
]
},
updateBannerInfo:{
title: "修改广告管理信息",
url: '/operations/search/updateBannerInfo',
params: [
{name: 'id', type: 'number'},
{name: 'positionId', type: 'number'},
{name: 'templetId', type: 'number'},
{name: 'maxSortId', type: 'number'},
{name: 'middleSortId', type: 'number'},
{name: 'smallSortId', type: 'number'},
{name: 'gender', type: 'number'},
{name: 'sizeId', type: 'number'},
{name: 'brand', type: 'string'},
{name: 'price', type: 'string'},
{name: 'style', type: 'string'},
{name: 'color', type: 'number'},
{name: 'data', type: 'string'},
{name: 'caption', type: 'string'},
{name: 'content', type: 'string'}
]
},
updateBannerStatus:{
title: "修改广告管理状态",
url: '/operations/search/updateBannerStatus',
params: [
{name: 'id', type: 'number'},
{name: 'status', type: 'number'}
]
},
insertBanner:{
title: "新增广告管理",
url: '/operations/search/insertBanner',
params: [
{name: 'positionId', type: 'number'},
{name: 'templetId', type: 'number'},
{name: 'maxSortId', type: 'number'},
{name: 'middleSortId', type: 'number'},
{name: 'smallSortId', type: 'number'},
{name: 'gender', type: 'number'},
{name: 'sizeId', type: 'number'},
{name: 'brand', type: 'string'},
{name: 'price', type: 'string'},
{name: 'style', type: 'string'},
{name: 'color', type: 'number'},
{name: 'data', type: 'string'},
{name: 'caption', type: 'string'},
{name: 'content', type: 'string'}
]
},
delBannerById:{
title: "新增广告管理",
url: '/operations/search/delBannerById',
params: [
{name: 'id', type: 'number'}
]
},
queryAllStyle:{
title: "查询所有风格",
url: '/operations/search/queryAllStyle',
params: [
]
}
}
}