文档
测试

用户优惠券订单列表

GET
/api/coupons/user/0

请求头

参数名
类型
描述
必填
Authorization
token
必填

说明 / 示例

新增加 订单字段 String address; String merchantName; String image 店铺评论标记 状态(0:未评论,1:已评论) 返回 { "status": 200, "success": true, "msg": "操作成功", "data": [ { "id": 21, "cid": 7, "uid": 2, "couponTitle": "满100减10", "couponPrice": 10, "useMinPrice": 100, "createTime": "2020-09-19", "endTime": "2020-09-30", "useTime": null, "type": "get", "status": 2, "isFail": 0, "_type": 0, "_msg": "已过期", "realCost": 140, "originalCost": 150 }, { "id": 22, "cid": 6, "uid": 2, "couponTitle": "满100减20", "couponPrice": 20, "useMinPrice": 100, "createTime": "2020-09-19", "endTime": "2021-09-01", "useTime": null, "type": "get", "status": 0, "isFail": 0, "_type": 1, "_msg": "可使用", "realCost": 120, "originalCost": 140 }, { "id": 23, "cid": 7, "uid": 2, "couponTitle": "满100减10", "couponPrice": 10, "useMinPrice": 100, "createTime": "2020-10-09", "endTime": "2020-09-30", "useTime": null, "type": "get", "status": 0, "isFail": 0, "_type": 0, "_msg": "已过期", "realCost": 120, "originalCost": 100 }, { "id": 24, "cid": 10, "uid": 2, "couponTitle": "满100减15", "couponPrice": 12, "useMinPrice": 80, "createTime": "2020-10-09", "endTime": "2020-11-12", "useTime": null, "type": "get", "status": 0, "isFail": 0, "_type": 1, "_msg": "可使用", "realCost": 120, "originalCost": 100 } ], "total": null, "time": "2020-10-09 18:16:35" }