product_detail_page_coupon.md 1.73 KB

#商品详情页优惠券接口

接口描述

1、查询商品详情页优惠券(app.coupons.queryProdPageCoupons)

请求参数

Param Name Param Type Required Param Value Desc
method String true app.coupons.queryProdPageCoupons 请求方法
uid int false 用户uid
brandId int true 品牌ID
skn int true 商品SKN

响应内容json

    {
      "alg": "SALT_MD5",
      "code": 200,
      "data": [
        {
          "couponName": "有效期内优惠券15*3倍",
          "amount": 45,
          "acquireStatus": 1,
          "createTime": 1476358258,
          "rule4ShortName": "满1件减¥45",
          "startTime": 1476115200,
          "lifeTime": "2016.10.11-2016.11.18",
          "endTime": 1479398400,
          "couponId": 14202
        },
        {
          "couponName": "有效期20161017未到,10*2",
          "amount": 20,
          "acquireStatus": 3,
          "createTime": 1476358043,
          "rule4ShortName": "¥20",
          "startTime": 1476633600,
          "lifeTime": "2016.10.17-2016.10.28",
          "endTime": 1477584000,
          "couponId": 14200
        },
        {
          "couponName": "有效的nike券",
          "amount": 22,
          "acquireStatus": 3,
          "createTime": 1475152374,
          "rule4ShortName": "满¥1111减¥22",
          "startTime": 1474992000,
          "lifeTime": "2016.09.28-2016.11.17",
          "endTime": 1479312000,
          "couponId": 14144
        }
          ],
          "md5": "73363fa44ce2025b0a4137bdb8b5ecbb",
          "message": "操作成功"
    }
说明:acquireStatus:1.可领取 2.已抢光 3.已领取 4.已过期 (商品详情页只有13