车享宝


优惠券详情

<h5>简要描述</h5> <ul> <li>优惠券详情</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://admin-test-api.uncar.top/coupon/details</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">couponId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>优惠券id</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "code": 200, "data": { "id": 3, "name": "测试优惠券-会员", "type": 2, "couponType": 1, "discountAmount": 100.0, "discountRate": null, "minOrderAmount": 200.0, "userComeFrom": 0, "userType": 2, "sendType": 1, "sendCount": 0, "alreadySendCount": 56, "validityType": 1, "validityDayCount": 2, "validityStartTime": null, "validityEndTime": null, "goodsType": 1, "state": 1, "createTime": "2021-10-08T04:48:02.000+0000", "updateTime": "2021-10-08T04:55:00.000+0000", "serviceId": null, "washServicesList": [ //可用商品列表 { "id": 45, "washId": 51, "type": "SUV-中小型洗车", //服务类型 "price": 1.0, //销售价格 "underlinedPrice": 0.01, //划线价 "createTime": "2021-09-24T08:24:59.000+0000", "status": 1, //1启用 -1禁用 "sort": 45, /排序 "sale": 0, //销量 "vipPrice": null, "promotionPrice": null, "promotionStartTime": null, "promotionEndTime": null, "promotionPerLimit": null, "promotionType": 0, "shopId": 51, "shopName": "测试", //店铺名称 "shopAddress": "四川省成都市武侯区桂溪街道ACC中航城市广场A区九方购物中心" //店铺地址 } ], "couponUseds": [ //已使用优惠券用户列表 { "userName": "?", "mobile": "1001", "washService": { "id": 31, "washId": 81, "type": "服务类型2", "price": 300.0, "underlinedPrice": 300.0, "createTime": "2021-08-17T07:18:30.000+0000", "status": 1, "sort": 10, "sale": null, "vipPrice": 0.01, "promotionPrice": 0.01, "promotionStartTime": "2021-06-28T01:52:09.000+0000", "promotionEndTime": "2021-07-28T01:52:09.000+0000", "promotionPerLimit": 100, "promotionType": 0 }, "usedTime": "2021-10-09T11:13:20.000+0000" }, { "userName": "Ꮩ࿆Ꭵ࿆Ꮲ࿆?_Ada", //用户昵称 "mobile": "1002", //用户手机号 "washService": { //使用的商品数据 "id": 13, "washId": 75, "type": "达斯文", "price": 0.01, "underlinedPrice": 998.0, "createTime": "2021-07-01T06:05:53.000+0000", "status": 1, "sort": 12, "sale": 0, "vipPrice": null, "promotionPrice": null, "promotionStartTime": null, "promotionEndTime": null, "promotionPerLimit": null, "promotionType": 0 }, "usedTime": "2021-10-09T11:29:19.000+0000" } ], "notUsed": null, "used": null, "invalid": null }, "message": "success" }</code></pre>

页面列表

ITEM_HTML