瑞辛咖啡

小组项目


打折卷获取

简要描述
请求URL
  • /coupon/getDiscount
请求方式
  • POST
参数
参数名 必选 类型 说明
返回示例
{
    "status": 200,
    "msg": "获取用户优惠卷数据成功",
    "data": [
        {
            "id": 1,
            "bigNumName": 4,
            "numName": "5折",
            "discountName": "咖啡.果汁",
            "disCountTime": "有效期至2019-01-14",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        },
        {
            "id": 2,
            "bigNumName": 4,
            "numName": "8折",
            "discountName": "NFC果汁.咖啡",
            "disCountTime": "有效期至2019-01-15",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        },
        {
            "id": 3,
            "bigNumName": 6,
            "numName": "8折",
            "discountName": "大师咖啡",
            "disCountTime": "有效期至2019-01-19",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        },
        {
            "id": 4,
            "bigNumName": 5,
            "numName": "0折",
            "discountName": "订单优惠",
            "disCountTime": "有效期至2019-01-17",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        },
        {
            "id": 5,
            "bigNumName": 5,
            "numName": "8折",
            "discountName": "全场饮品",
            "disCountTime": "有效期至2019-01-14",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        },
        {
            "id": 6,
            "bigNumName": 8,
            "numName": "8折",
            "discountName": "咖啡.果汁",
            "disCountTime": "有效期至2019-01-16",
            "useRules": "",
            "isChecked": "false",
            "status": 0,
            "userId": 0
        }
    ]
}
返回参数说明
参数名 类型 说明
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML