app.promotion.queryBirthCoupon.md 1.37 KB

#查询用户可领取的生日券列表

GET请求

请求参数

Param Name Param Type Required Param Value Desc
method String true app.coupons.queryProdPageCoupons 请求方法
uid String true 用户uid
couponType String true 优惠券类型,此处必填4

响应

{
  "alg": "SALT_MD5",
  "code": 200,
  "data": [
{
  "couponAmount": 299,
  "couponCode": "",
  "couponName": "12月生日券:VIP专享满299减80(",
  "endTime": "2016-12-31 23:59:59",
  "id": 14524,
  "startTime": "2016-12-01 00:00:01",
  "status": 1,
  "useLimit": "299",
  "useLimitType": "2"
},
{
  "couponAmount": 120,
  "couponCode": "",
  "couponName": "12月生日券:VIP专享满499减120",
  "endTime": "2016-12-31 23:59:59",
  "id": 14526,
  "startTime": "2016-12-01 00:00:01",
  "status": 1,
  "useLimit": "499",
  "useLimitType": "2"
}
 ],
  "md5": "c00cd33d230203bc8534bae9aada2326",
  "message": "请求成功"
}

响应错误码

code Desc
201 用户生日信息不存在
411 您没有可领取的生日券哦
410 您还不是VIP哦~升级VIP享专属生日券!