Showing
1 changed file
with
41 additions
and
0 deletions
@@ -1413,4 +1413,45 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | @@ -1413,4 +1413,45 @@ code为200即为成功且只会返回200,每次都会有响应结果。 | ||
1413 | "md5": "a849be68446129c27c16baaf53ada78e", | 1413 | "md5": "a849be68446129c27c16baaf53ada78e", |
1414 | "message": "RefundExchange List." | 1414 | "message": "RefundExchange List." |
1415 | } | 1415 | } |
1416 | +``` | ||
1417 | + | ||
1418 | + | ||
1419 | +## 商品详情页中的促销活动展示## | ||
1420 | + | ||
1421 | +(method=app.product.promotion) | ||
1422 | +请求方式:GET | ||
1423 | +#### 请求参数 | ||
1424 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
1425 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
1426 | +|product_skn|int|否|51208311|null|商品skn| | ||
1427 | + | ||
1428 | +注意,通用的头部没有列出。 | ||
1429 | +请求示例 | ||
1430 | +http://54.223.97.150/?app_version=4.9.2.1609120001&client_secret=30141d64b04902b1f878a7149808aebd&client_type=iphone&method=app.product.promotion&os_version=10.0.2&product_skn=51208311&screen_size=375x667&v=7 | ||
1431 | + | ||
1432 | +### 响应 | ||
1433 | +code为200即为成功且只会返回200,每次都会有响应结果。 | ||
1434 | +响应JSON格式如下所示: | ||
1435 | +```json | ||
1436 | +{ | ||
1437 | + "alg": "SALT_MD5", | ||
1438 | + "code": 200, | ||
1439 | + "data": | ||
1440 | + [ | ||
1441 | + { | ||
1442 | + "promotionTitle": "【精选型品夯售】3件5折", | ||
1443 | + "promotionType": "打折" | ||
1444 | + }, | ||
1445 | + { | ||
1446 | + "promotionTitle": "【精选型品夯售】2件6折", | ||
1447 | + "promotionType": "打折" | ||
1448 | + }, | ||
1449 | + { | ||
1450 | + "promotionTitle": "【YOHOPE】满¥199赠原创百搭T恤 赠完即止", | ||
1451 | + "promotionType": "赠品" | ||
1452 | + } | ||
1453 | + ], | ||
1454 | + "md5": "502120b2c130a5fb469cbcba29c28203", | ||
1455 | + "message": "product promotionInfo" | ||
1456 | +} | ||
1416 | ``` | 1457 | ``` |
-
Please register or login to post a comment