userCoupons.md 1.64 KB

#在线客服界面 用户优惠券接口

接口列表

接口名称 接口描述
app.coupons.getUserRecentCoupons 用户最近10条优惠券记录

接口描述

1、用户最近10条优惠券记录(app.coupons.getUserRecentCoupons)

请求参数

Param Name Param Type Required Param Value Desc
method String true app.coupons.getUserRecentCoupons 请求方法
uid int true 8041876 用户ID
status int true 0 状态
mobile String false 17798512064 手机号
email String false zheng.liu@yoho.cn 邮箱

响应内容

{
  "alg": "SALT_MD5",
  "code": 200,
  "data": [
    {
      "counponAmount": 20,
      "couponCode": "aocq10w35v4dat",
      "couponId": 14102,
      "couponName": "测试-线下店-2",
      "endTime": 1478102400,
      "startTime": 1472486400,
      "status": 1
    },
    {
      "counponAmount": 5,
      "couponCode": "a01d64465",
      "couponId": 12727,
      "couponName": "damao-优惠券96",
      "endTime": 1585670400,
      "startTime": 1459440000,
      "status": 1
    }
  ],
  "md5": "3fef9d4b8761ebeef40d4465b5481b40",
  "message": "操作成功"
}

###调用示例:http://192.168.102.205:8080/gateway/?method=app.coupons.getUserRecentCoupons&uid=8041876&status=1&debug=XYZ

###调用示例:http://192.168.102.205:8080/gateway/?method=app.coupons.getUserRecentCoupons&debug=XYZ&mobile=15195911509&email=1