Showing
1 changed file
with
371 additions
and
384 deletions
1 | -# 店铺装修接口 | ||
2 | - | ||
3 | -## 保存店铺装修系信息 | ||
4 | -> POST `/ShopsDecoratorRest/saveShopsDecorator` | ||
5 | - | ||
6 | -### 入参 | ||
7 | - | ||
8 | -```json | ||
9 | - | ||
10 | -{ | ||
11 | - "shopsId":1, | ||
12 | - "platform": "APP", | ||
13 | - "templateName": "BASE", | ||
14 | - "resources": [ | ||
15 | - { | ||
16 | - "id":7, | ||
17 | - "name": "shopTopBanner", | ||
18 | - "data": { | ||
19 | - "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png", | ||
20 | - "isShowShopName": "Y" | ||
21 | - } | ||
22 | - }, | ||
23 | - { | ||
24 | - "id":8, | ||
25 | - "name": "productDetailTopBanner", | ||
26 | - "data": { | ||
27 | - "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/015}5598441256e46ec285a8ea64e762394.png" | ||
28 | - } | ||
29 | - }, | ||
30 | - { | ||
31 | - "id":9, | ||
32 | - "name": "oneRowTwoColImages", | ||
33 | - "data": [ | ||
34 | - { | ||
35 | - "position": 1, | ||
36 | - "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png", | ||
37 | - "url": {}, | ||
38 | - "startTime": 1309514897, | ||
39 | - "endTime": 1309514967, | ||
40 | - "publishStatus": 0 | ||
41 | - } | ||
42 | - ] | ||
43 | - }, | ||
44 | - { | ||
45 | - "id":10, | ||
46 | - "name": "hotProducts", | ||
47 | - "data": [ | ||
48 | - 50000881, | ||
49 | - 50000882, | ||
50 | - 50000883, | ||
51 | - 50000884, | ||
52 | - 50000885, | ||
53 | - 50000886, | ||
54 | - 50000887, | ||
55 | - 50000888 | ||
56 | - ] | ||
57 | - } | ||
58 | - ] | ||
59 | -} | ||
60 | -``` | ||
61 | - | ||
62 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
63 | -|------ |---- |---- |------ |---- | | ||
64 | -|shopsId |是 |int |1 |店铺编号 | | ||
65 | -|platform |否 |string |APP |平台名称 | | ||
66 | -|templateName|否 |string |BASE |模板名称 | | ||
67 | -|resources |否 |json | |资源 | | ||
68 | - | ||
69 | -#### 资源描述-店铺头部横幅 | ||
70 | - | ||
71 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
72 | -|------ |---- |---- |------ |---- | | ||
73 | -|id |否 |int |7 |资源编号 | | ||
74 | -|name |是 |string |shopTopBanner |资源名称 | | ||
75 | -|data |是 |json | |资源内容 | | ||
76 | -|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|店铺头部横幅图片| | ||
77 | -|isShowShopName |否 |string |Y |是否显示店铺名称| | ||
78 | - | ||
79 | -#### 资源描述-商品详情头部横幅 | ||
80 | - | ||
81 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
82 | -|------ |---- |---- |------ |---- | | ||
83 | -|id |否 |int |8 |资源编号 | | ||
84 | -|name |是 |string |productDetailTopBanner |资源名称 | | ||
85 | -|data |是 |json | |资源内容 | | ||
86 | -|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|商品详情头部横幅图片| | ||
87 | - | ||
88 | - | ||
89 | -### 返回 | ||
90 | - | ||
91 | -```json | ||
92 | - | ||
93 | -{ | ||
94 | - "code": 200, | ||
95 | - "message": "操作成功", | ||
96 | - "data":{ | ||
97 | - "id":1, | ||
98 | - "platform":"APP", | ||
99 | - "templateName":"BASE", | ||
100 | - "resources":[] | ||
101 | - } | ||
102 | -} | ||
103 | -``` | ||
104 | - | ||
105 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
106 | -|------ |---- |---- |------ |---- | | ||
107 | -|id |是 |int |1 |店铺装修编号 | | ||
108 | -|platform |是 |string |APP |平台名称 | | ||
109 | -|templateName|是 |string |BASE |模板名称 | | ||
110 | -|resources |是 |json | |资源 | | ||
111 | - | ||
112 | - | ||
113 | -## 查询店铺装修信息 | ||
114 | -> POST `/ShopsDecoratorRest/findShopsDecorator` | ||
115 | - | ||
116 | -### 入参 | ||
117 | - | ||
118 | -```json | ||
119 | - | ||
120 | -{ | ||
121 | - "page":1, | ||
122 | - "size":20, | ||
123 | - "shopsId":1, | ||
124 | - "checkStatus": 100, | ||
125 | - "supplierId": 1, | ||
126 | - "brandId": 1 | ||
127 | -} | ||
128 | -``` | ||
129 | - | ||
130 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
131 | -|------ |---- |---- |------ |---- | | ||
132 | -|page |否 |int |1 |页数 | | ||
133 | -|size |否 |int |20 |每页大小 | | ||
134 | -|shopsId |否 |int |1 |店铺编号 | | ||
135 | -|checkStatus |否 |int |100 |审核状态 | | ||
136 | -|supplierId |否 |int |1 |供应商编号 | | ||
137 | -|brandId |否 |int |1 |品牌编号 | | ||
138 | - | ||
139 | - | ||
140 | -### 返回 | ||
141 | - | ||
142 | -```json | ||
143 | - | ||
144 | -{ | ||
145 | - "code": 200, | ||
146 | - "message": "操作成功", | ||
147 | - "data":{ | ||
148 | - "page":1, | ||
149 | - "size":20, | ||
150 | - "total":101, | ||
151 | - "totalPage":6, | ||
152 | - "list":[{ | ||
153 | - "id":1, | ||
154 | - "shopsId":1, | ||
155 | - "shopsName":"T.U.K", | ||
156 | - "checkStatus":100, | ||
157 | - "createTime":1454551897, | ||
158 | - "updateTime":1454551897, | ||
159 | - "status":1, | ||
160 | - "brands":[{ | ||
161 | - "id":517, | ||
162 | - "brandName":"T.U.K", | ||
163 | - "brandNameCn":"", | ||
164 | - "brandNameEn":"T.U.K" | ||
165 | - }] | ||
166 | - }] | ||
167 | - } | ||
168 | -} | ||
169 | -``` | ||
170 | - | ||
171 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
172 | -|------ |---- |---- |------ |---- | | ||
173 | -|page |是 |int |1 |页数 | | ||
174 | -|size |是 |int |20 |每页大小 | | ||
175 | -|total |是 |int |1 |总记录数 | | ||
176 | -|totalPage |是 |int |100 |总页数 | | ||
177 | -|list |是 |json | |店铺装修信息 | | ||
178 | -|id |否 |int |1 |店铺装修编号 | | ||
179 | -|shopsId |是 |int |1 |店铺编号 | | ||
180 | -|shopsName |是 |string |T.U.K |店铺名称 | | ||
181 | -|checkStatus |否 |int |100 |店铺装修审核状态| | ||
182 | -|createTime |否 |int |1454551897 |店铺创建时间 | | ||
183 | -|updateTime |否 |int |1454551897 |店铺更新时间 | | ||
184 | -|status |否 |int |1 |店铺装修状态 | | ||
185 | -|brands |否 |json | |品牌信息 | | ||
186 | -|id |否 |int |517 |品牌编号 | | ||
187 | -|brandName |否 |string |T.U.K |品牌名称 | | ||
188 | -|brandNameCn |否 |string | |品牌中文名称 | | ||
189 | -|brandNameEn |否 |string |T.U.K |品牌英文名称 | | ||
190 | - | ||
191 | - | ||
192 | -## 查询店铺装修详细信息 | ||
193 | -> POST `/ShopsDecoratorRest/findShopsDecoratorDetail` | ||
194 | - | ||
195 | -### 入参 | ||
196 | - | ||
197 | -```json | ||
198 | - | ||
199 | -{ | ||
200 | - "id":2, | ||
201 | - "platform": "APP", | ||
202 | - "templateName": "BASE" | ||
203 | -} | ||
204 | -``` | ||
205 | - | ||
206 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
207 | -|------ |---- |---- |------ |---- | | ||
208 | -|id |是 |int |1 |页数 | | ||
209 | -|platform |否 |string |APP |平台名称(默认:APP) | | ||
210 | -|templateName|否 |string |BASE |模板名称(默认:启用的模板)| | ||
211 | - | ||
212 | -### 返回 | ||
213 | - | ||
214 | -```json | ||
215 | - | ||
216 | -{ | ||
217 | - "code": 200, | ||
218 | - "message": "操作成功", | ||
219 | - "data":{ | ||
220 | - "id":1, | ||
221 | - "platform":"APP", | ||
222 | - "templateName":"BASE", | ||
223 | - "resources":[] | ||
224 | - } | ||
225 | -} | ||
226 | -``` | ||
227 | - | ||
228 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
229 | -|------ |---- |---- |------ |---- | | ||
230 | -|id |是 |int |1 |店铺装修编号 | | ||
231 | -|platform |是 |string |APP |平台名称 | | ||
232 | -|templateName|是 |string |BASE |模板名称 | | ||
233 | -|resources |是 |json | |资源 | | ||
234 | - | ||
235 | -## 查询店铺装修待审核信息 | ||
236 | -> POST `/ShopsDecoratorRest/findAuditShopsDecorator` | ||
237 | - | ||
238 | -### 入参 | ||
239 | - | ||
240 | -```json | ||
241 | - | ||
242 | -{ | ||
243 | -"shopsId":21, | ||
244 | -"brandId":0, | ||
245 | -"checkStatus":200, | ||
246 | -} | ||
247 | -``` | ||
248 | - | ||
249 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
250 | -|------ |---- |---- |------ |---- | | ||
251 | -|shopsId |是 |int |21 |店铺编号 | | ||
252 | -|brandId |是 |int |0 |品牌编号 | | ||
253 | -|checkStatus |否 |int |200 |店铺装修审核状态 | | ||
254 | - | ||
255 | -### 返回 | ||
256 | - | ||
257 | -```json | ||
258 | - | ||
259 | - | ||
260 | - | ||
261 | - { | ||
262 | - "code": 200, | ||
263 | - "data": | ||
264 | - { | ||
265 | - "list": | ||
266 | - [ | ||
267 | - { | ||
268 | - "brands": | ||
269 | - [ | ||
270 | - { | ||
271 | - "brandDomain": "qianjun", | ||
272 | - "brandName": "钱军1", | ||
273 | - "brandNameCn": "", | ||
274 | - "brandNameEn": "qianjun", | ||
275 | - "id": 1470, | ||
276 | - "status": 1 | ||
277 | - } | ||
278 | - ], | ||
279 | - "checkStatus": 200, | ||
280 | - "createTime": 1445909754, | ||
281 | - "id": 1, | ||
282 | - "shopsId": 21, | ||
283 | - "shopsName": "jnby by JNBY", | ||
284 | - "status": 0, | ||
285 | - "updateTime": 1456128116 | ||
286 | - }, | ||
287 | - { | ||
288 | - "brands": | ||
289 | - [ | ||
290 | - { | ||
291 | - "brandDomain": "qianjun", | ||
292 | - "brandName": "钱军1", | ||
293 | - "brandNameCn": "", | ||
294 | - "brandNameEn": "qianjun", | ||
295 | - "id": 1470, | ||
296 | - "status": 1 | ||
297 | - } | ||
298 | - ], | ||
299 | - "checkStatus": 100, | ||
300 | - "createTime": 1445909754, | ||
301 | - "id": 2, | ||
302 | - "shopsId": 21, | ||
303 | - "shopsName": "jnby by JNBY", | ||
304 | - "status": 0, | ||
305 | - "updateTime": 1456128116 | ||
306 | - }, | ||
307 | - { | ||
308 | - "brands": | ||
309 | - [ | ||
310 | - { | ||
311 | - "brandDomain": "qianjun", | ||
312 | - "brandName": "钱军1", | ||
313 | - "brandNameCn": "", | ||
314 | - "brandNameEn": "qianjun", | ||
315 | - "id": 1470, | ||
316 | - "status": 1 | ||
317 | - } | ||
318 | - ], | ||
319 | - "checkStatus": 200, | ||
320 | - "createTime": 1445909754, | ||
321 | - "id": 3, | ||
322 | - "shopsId": 21, | ||
323 | - "shopsName": "jnby by JNBY", | ||
324 | - "status": 0, | ||
325 | - "updateTime": 1456128116 | ||
326 | - } | ||
327 | - ], | ||
328 | - "page": 1, | ||
329 | - "size": 10, | ||
330 | - "total": 3, | ||
331 | - "totalPage": 1 | ||
332 | - }, | ||
333 | - "message": "操作成功" | ||
334 | - } | ||
335 | - | ||
336 | - | ||
337 | -``` | ||
338 | - | ||
339 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
340 | -|------ |---- |---- |------ |---- | | ||
341 | -|id |是 |int |3 |店铺装修编号 | | ||
342 | -|shopsId |是 |int |21 |shopsId | | ||
343 | -|shopsName |是 |string |jnby by JNBY |店铺名称 | | ||
344 | -|status |是 |int |0 |店铺装修状态 | | ||
345 | -|checkStatus |是 |int |200 |店铺装修审核状态 | | ||
346 | -|createTime |是 |int |1445909754 |店铺装修创建时间 | | ||
347 | -|updateTime |是 |int |1456128116 |店铺装修更新时间 | | ||
348 | -|brands |否 |json | |品牌信息 | | ||
349 | -|id |否 |int |517 |品牌编号 | | ||
350 | -|brandName |否 |string |T.U.K |品牌名称 | | ||
351 | -|brandNameCn |否 |string | |品牌中文名称 | | ||
352 | -|brandNameEn |否 |string |T.U.K |品牌英文名称 | | ||
353 | -|status |否 |int |1 |品牌开启状态 | | ||
354 | -|brandDomain |否 |string |T.U.K |品牌主域名 | | ||
355 | - | ||
356 | -## 店铺装修审核 | ||
357 | -> POST `/ShopsDecoratorRest/auditShopsDecorator` | ||
358 | - | ||
359 | -### 入参 | ||
360 | - | ||
361 | -```json | ||
362 | - | ||
363 | -{ | ||
364 | -"id":10, | ||
365 | -"checkStatus":200 | ||
366 | -} | ||
367 | -``` | ||
368 | - | ||
369 | -|参数名 |必填 |类型 |示例值 |描述 | | ||
370 | -|------ |---- |---- |------ |---- | | ||
371 | -|id |是 |int |10 |店铺装修编号 | | ||
372 | -|checkStatus |否 |int |200 |店铺装修审核状态 | | ||
373 | - | ||
374 | -### 返回 | ||
375 | - | ||
376 | -```json | ||
377 | - | ||
378 | - { | ||
379 | - "code": 200, | ||
380 | - "data":[], | ||
381 | - "md5": "d751713988987e9331980363e24189ce", | ||
382 | - "message": "操作成功." | ||
383 | - } | ||
384 | - | 1 | +# 店铺装修接口 |
2 | + | ||
3 | +## 保存店铺装修系信息 | ||
4 | +> POST `/ShopsDecoratorRest/saveShopsDecorator` | ||
5 | + | ||
6 | +### 入参 | ||
7 | + | ||
8 | +```json | ||
9 | + | ||
10 | +{ | ||
11 | + "shopsId":1, | ||
12 | + "platform": "APP", | ||
13 | + "templateName": "BASE", | ||
14 | + "resources": [ | ||
15 | + { | ||
16 | + "id":7, | ||
17 | + "name": "shopTopBanner", | ||
18 | + "data": { | ||
19 | + "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png", | ||
20 | + "isShowShopName": "Y" | ||
21 | + } | ||
22 | + }, | ||
23 | + { | ||
24 | + "id":8, | ||
25 | + "name": "productDetailTopBanner", | ||
26 | + "data": { | ||
27 | + "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/015}5598441256e46ec285a8ea64e762394.png" | ||
28 | + } | ||
29 | + }, | ||
30 | + { | ||
31 | + "id":9, | ||
32 | + "name": "oneRowTwoColImages", | ||
33 | + "data": [ | ||
34 | + { | ||
35 | + "position": 1, | ||
36 | + "src": "http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png", | ||
37 | + "url": {}, | ||
38 | + "startTime": 1309514897, | ||
39 | + "endTime": 1309514967, | ||
40 | + "publishStatus": 0 | ||
41 | + } | ||
42 | + ] | ||
43 | + }, | ||
44 | + { | ||
45 | + "id":10, | ||
46 | + "name": "hotProducts", | ||
47 | + "data": [ | ||
48 | + 50000881, | ||
49 | + 50000882, | ||
50 | + 50000883, | ||
51 | + 50000884, | ||
52 | + 50000885, | ||
53 | + 50000886, | ||
54 | + 50000887, | ||
55 | + 50000888 | ||
56 | + ] | ||
57 | + } | ||
58 | + ] | ||
59 | +} | ||
60 | +``` | ||
61 | + | ||
62 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
63 | +|------ |---- |---- |------ |---- | | ||
64 | +|shopsId |是 |int |1 |店铺编号 | | ||
65 | +|platform |否 |string |APP |平台名称 | | ||
66 | +|templateName|否 |string |BASE |模板名称 | | ||
67 | +|resources |否 |json | |资源 | | ||
68 | + | ||
69 | +#### 资源描述-店铺头部横幅 | ||
70 | + | ||
71 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
72 | +|------ |---- |---- |------ |---- | | ||
73 | +|id |否 |int |7 |资源编号 | | ||
74 | +|name |是 |string |shopTopBanner |资源名称 | | ||
75 | +|data |是 |json | |资源内容 | | ||
76 | +|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|店铺头部横幅图片| | ||
77 | +|isShowShopName |否 |string |Y |是否显示店铺名称| | ||
78 | + | ||
79 | +#### 资源描述-商品详情头部横幅 | ||
80 | + | ||
81 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
82 | +|------ |---- |---- |------ |---- | | ||
83 | +|id |否 |int |8 |资源编号 | | ||
84 | +|name |是 |string |productDetailTopBanner |资源名称 | | ||
85 | +|data |是 |json | |资源内容 | | ||
86 | +|src |是 |string |http://img10.static.yhbimg.com/taobaocms/2016/01/25/12/0155598441256e46ec285a8ea64e762394.png|商品详情头部横幅图片| | ||
87 | + | ||
88 | + | ||
89 | +### 返回 | ||
90 | + | ||
91 | +```json | ||
92 | + | ||
93 | +{ | ||
94 | + "code": 200, | ||
95 | + "message": "操作成功", | ||
96 | + "data":{ | ||
97 | + "id":1, | ||
98 | + "platform":"APP", | ||
99 | + "templateName":"BASE", | ||
100 | + "resources":[] | ||
101 | + } | ||
102 | +} | ||
103 | +``` | ||
104 | + | ||
105 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
106 | +|------ |---- |---- |------ |---- | | ||
107 | +|id |是 |int |1 |店铺装修编号 | | ||
108 | +|platform |是 |string |APP |平台名称 | | ||
109 | +|templateName|是 |string |BASE |模板名称 | | ||
110 | +|resources |是 |json | |资源 | | ||
111 | + | ||
112 | + | ||
113 | +## 查询店铺装修信息 | ||
114 | +> POST `/ShopsDecoratorRest/findShopsDecorator` | ||
115 | + | ||
116 | +### 入参 | ||
117 | + | ||
118 | +```json | ||
119 | + | ||
120 | +{ | ||
121 | + "page":1, | ||
122 | + "size":20, | ||
123 | + "shopsId":1, | ||
124 | + "checkStatus": 100, | ||
125 | + "supplierId": 1, | ||
126 | + "brandId": 1 | ||
127 | +} | ||
128 | +``` | ||
129 | + | ||
130 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
131 | +|------ |---- |---- |------ |---- | | ||
132 | +|page |否 |int |1 |页数 | | ||
133 | +|size |否 |int |20 |每页大小 | | ||
134 | +|shopsId |否 |int |1 |店铺编号 | | ||
135 | +|checkStatus |否 |int |100 |审核状态 | | ||
136 | +|supplierId |否 |int |1 |供应商编号 | | ||
137 | +|brandId |否 |int |1 |品牌编号 | | ||
138 | + | ||
139 | + | ||
140 | +### 返回 | ||
141 | + | ||
142 | +```json | ||
143 | + | ||
144 | +{ | ||
145 | + "code": 200, | ||
146 | + "message": "操作成功", | ||
147 | + "data":{ | ||
148 | + "page":1, | ||
149 | + "size":20, | ||
150 | + "total":101, | ||
151 | + "totalPage":6, | ||
152 | + "list":[{ | ||
153 | + "id":1, | ||
154 | + "shopsId":1, | ||
155 | + "shopsName":"T.U.K", | ||
156 | + "checkStatus":100, | ||
157 | + "createTime":1454551897, | ||
158 | + "updateTime":1454551897, | ||
159 | + "status":1, | ||
160 | + "brands":[{ | ||
161 | + "id":517, | ||
162 | + "brandName":"T.U.K", | ||
163 | + "brandNameCn":"", | ||
164 | + "brandNameEn":"T.U.K" | ||
165 | + }] | ||
166 | + }] | ||
167 | + } | ||
168 | +} | ||
169 | +``` | ||
170 | + | ||
171 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
172 | +|------ |---- |---- |------ |---- | | ||
173 | +|page |是 |int |1 |页数 | | ||
174 | +|size |是 |int |20 |每页大小 | | ||
175 | +|total |是 |int |1 |总记录数 | | ||
176 | +|totalPage |是 |int |100 |总页数 | | ||
177 | +|list |是 |json | |店铺装修信息 | | ||
178 | +|id |否 |int |1 |店铺装修编号 | | ||
179 | +|shopsId |是 |int |1 |店铺编号 | | ||
180 | +|shopsName |是 |string |T.U.K |店铺名称 | | ||
181 | +|checkStatus |否 |int |100 |店铺装修审核状态| | ||
182 | +|createTime |否 |int |1454551897 |店铺创建时间 | | ||
183 | +|updateTime |否 |int |1454551897 |店铺更新时间 | | ||
184 | +|status |否 |int |1 |店铺装修状态 | | ||
185 | +|brands |否 |json | |品牌信息 | | ||
186 | +|id |否 |int |517 |品牌编号 | | ||
187 | +|brandName |否 |string |T.U.K |品牌名称 | | ||
188 | +|brandNameCn |否 |string | |品牌中文名称 | | ||
189 | +|brandNameEn |否 |string |T.U.K |品牌英文名称 | | ||
190 | + | ||
191 | + | ||
192 | +## 查询店铺装修详细信息 | ||
193 | +> POST `/ShopsDecoratorRest/findShopsDecoratorDetail` | ||
194 | + | ||
195 | +### 入参 | ||
196 | + | ||
197 | +```json | ||
198 | + | ||
199 | +{ | ||
200 | + "id":2, | ||
201 | + "platform": "APP", | ||
202 | + "templateName": "BASE" | ||
203 | +} | ||
204 | +``` | ||
205 | + | ||
206 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
207 | +|------ |---- |---- |------ |---- | | ||
208 | +|id |是 |int |1 |页数 | | ||
209 | +|platform |否 |string |APP |平台名称(默认:APP) | | ||
210 | +|templateName|否 |string |BASE |模板名称(默认:启用的模板)| | ||
211 | + | ||
212 | +### 返回 | ||
213 | + | ||
214 | +```json | ||
215 | + | ||
216 | +{ | ||
217 | + "code": 200, | ||
218 | + "message": "操作成功", | ||
219 | + "data":{ | ||
220 | + "id":1, | ||
221 | + "platform":"APP", | ||
222 | + "templateName":"BASE", | ||
223 | + "resources":[] | ||
224 | + } | ||
225 | +} | ||
226 | +``` | ||
227 | + | ||
228 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
229 | +|------ |---- |---- |------ |---- | | ||
230 | +|id |是 |int |1 |店铺装修编号 | | ||
231 | +|platform |是 |string |APP |平台名称 | | ||
232 | +|templateName|是 |string |BASE |模板名称 | | ||
233 | +|resources |是 |json | |资源 | | ||
234 | + | ||
235 | +## 查询店铺装修待审核信息 | ||
236 | +> POST `/ShopsDecoratorRest/findAuditShopsDecorator` | ||
237 | + | ||
238 | +### 入参 | ||
239 | + | ||
240 | +```json | ||
241 | + | ||
242 | +{ | ||
243 | +"brandId":1026, | ||
244 | +"supplierId":1090 | ||
245 | +"checkStatus":200, | ||
246 | +} | ||
247 | +``` | ||
248 | + | ||
249 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
250 | +|------ |---- |---- |------ |---- | | ||
251 | +|supplierId |否 |int |1090 |供应商编号 | | ||
252 | +|brandId |否 |int |1026 |品牌编号 | | ||
253 | +|checkStatus |是 |int |200 |店铺装修审核状态 | | ||
254 | + | ||
255 | +### 返回 | ||
256 | + | ||
257 | +```json | ||
258 | + | ||
259 | + | ||
260 | + | ||
261 | + | ||
262 | + | ||
263 | + { | ||
264 | + "code": 200, | ||
265 | + "data": | ||
266 | + { | ||
267 | + "list": | ||
268 | + [ | ||
269 | + { | ||
270 | + "brands": | ||
271 | + [ | ||
272 | + { | ||
273 | + "brandName": "BURANDO ENO", | ||
274 | + "brandNameCn": "", | ||
275 | + "brandNameEn": "BURANDO ENO", | ||
276 | + "id": 519, | ||
277 | + "saleType": 1, | ||
278 | + "status": 1 | ||
279 | + } | ||
280 | + ], | ||
281 | + "checkStatus": 100, | ||
282 | + "createTime": 1448610631, | ||
283 | + "id": 25, | ||
284 | + "shopsId": 35, | ||
285 | + "shopsName": "BURANDO ENO", | ||
286 | + "shopsType": 1, | ||
287 | + "status": 0, | ||
288 | + "updateTime": 1449036789 | ||
289 | + }, | ||
290 | + { | ||
291 | + "brands": | ||
292 | + [ | ||
293 | + { | ||
294 | + "brandDomain": "jnby", | ||
295 | + "brandName": "JNBY", | ||
296 | + "brandNameCn": "", | ||
297 | + "brandNameEn": "JNBY", | ||
298 | + "id": 1026, | ||
299 | + "saleType": 1, | ||
300 | + "status": 1 | ||
301 | + } | ||
302 | + ], | ||
303 | + "checkStatus": 100, | ||
304 | + "createTime": 1445850968, | ||
305 | + "id": 26, | ||
306 | + "shopsId": 20, | ||
307 | + "shopsName": "JNBY", | ||
308 | + "shopsType": 1, | ||
309 | + "status": 0, | ||
310 | + "updateTime": 1456886841 | ||
311 | + } | ||
312 | + ], | ||
313 | + "page": 1, | ||
314 | + "size": 10, | ||
315 | + "total": 2, | ||
316 | + "totalPage": 1 | ||
317 | + }, | ||
318 | + "message": "操作成功" | ||
319 | + } | ||
320 | + | ||
321 | + | ||
322 | + | ||
323 | + | ||
324 | +``` | ||
325 | + | ||
326 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
327 | +|------ |---- |---- |------ |---- | | ||
328 | +|id |是 |int |3 |店铺装修编号 | | ||
329 | +|shopsId |是 |int |21 |shopsId | | ||
330 | +|shopsName |是 |string |jnby by JNBY |店铺名称 | | ||
331 | +|status |是 |int |0 |店铺装修状态 | | ||
332 | +|checkStatus |是 |int |200 |店铺装修审核状态 | | ||
333 | +|createTime |是 |int |1445909754 |店铺装修创建时间 | | ||
334 | +|updateTime |是 |int |1456128116 |店铺装修更新时间 | | ||
335 | +|brands |否 |json | |品牌信息 | | ||
336 | +|id |否 |int |517 |品牌编号 | | ||
337 | +|brandName |否 |string |T.U.K |品牌名称 | | ||
338 | +|brandNameCn |否 |string | |品牌中文名称 | | ||
339 | +|brandNameEn |否 |string |T.U.K |品牌英文名称 | | ||
340 | +|status |否 |int |1 |品牌开启状态 | | ||
341 | +|brandDomain |否 |string |T.U.K |品牌主域名 | | ||
342 | + | ||
343 | +## 店铺装修审核 | ||
344 | +> POST `/ShopsDecoratorRest/auditShopsDecorator` | ||
345 | + | ||
346 | +### 入参 | ||
347 | + | ||
348 | +```json | ||
349 | + | ||
350 | +{ | ||
351 | +"id":10, | ||
352 | +"checkStatus":200 | ||
353 | +} | ||
354 | +``` | ||
355 | + | ||
356 | +|参数名 |必填 |类型 |示例值 |描述 | | ||
357 | +|------ |---- |---- |------ |---- | | ||
358 | +|id |是 |int |10 |店铺装修编号 | | ||
359 | +|checkStatus |否 |int |200 |店铺装修审核状态 | | ||
360 | + | ||
361 | +### 返回 | ||
362 | + | ||
363 | +```json | ||
364 | + | ||
365 | + { | ||
366 | + "code": 200, | ||
367 | + "data":[], | ||
368 | + "md5": "d751713988987e9331980363e24189ce", | ||
369 | + "message": "操作成功." | ||
370 | + } | ||
371 | + | ||
385 | ``` | 372 | ``` |
-
Please register or login to post a comment