简要描述:
- 礼品券详情
请求URL:
POST/wapapi/addons/execute/addons/giftvoucher/controller/giftvoucher/action/userGiftvoucherInfo
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
record_id | 是 | int | 记录ID |
返回示例:
正确时返回:
{
"code": 1,
"message": "操作成功",
"data": {
"record_id": 20,
"shop_id": 0,
"gift_voucher_code": "C39212664288",
"state": 1,
"state_name": "未使用",
"start_time": 1551369600,
"end_time": 1559318399,
"gift_name": "纸巾一包",
"giftvoucher_name": "礼品券",
"desc": "说明",
"pic_cover_mid": "https://pic.vslai.com.cn/upload/69/0/common/2482d484865039ea2b1f48e359b54efd2.jpg",
"pic_cover_big": "https://pic.vslai.com.cn/upload/69/0/common/2482d484865039ea2b1f48e359b54efd1.jpg",
"gift_voucher_codeImg": "https://pic.vslai.com.cn/upload/69/0/gift_voucher_qrcode/gift_voucher_qrcode_20.png"
}
}
错误时返回:
{
"code": -1,
"message": "系统繁忙"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
record_id | int | 记录ID |
shop_id | int | 店铺ID |
gift_voucher_code | string | 礼品券编码 |
gift_voucher_codeImg | string | 二维码图片 |
state | int | 状态 1已领用(未使用) 2已使用 3已过期 |
state_name | string | 状态描述 |
start_time | string | 有效日期开始时间 |
end_time | string | 有效日期结束时间 |
gift_name | string | 赠品名称 |
giftvoucher_name | string | 礼品券名称 |
desc | string | 说明 |
pic_cover_mid | string | 中图路径 |
pic_cover_big | string | 大图路径 |