多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**简要描述:** - 结算页优惠券 **请求URL:** - ` /api/coupon/getBuyCouponList ` **请求方式:** - POST **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |goods |必填 |object | {"goods": [ {"goods_id":1, "item_id":2,"num":3} ]} | |shop_id |必填 |int |店铺id | **返回示例** 个人中心我的优惠券: ``` { "code": 1, "show": 0, "msg": "", "data": { "suit": [ { "id": 36, "user_id": 14, "coupon_id": 19, "coupon_code": "VZPD469325", "status": 0, "order_id": null, "use_time": null, "create_time": 1623307250, "update_time": 1623307250, "del": 0, "name": "店铺1", "use_time_type": 1, "use_time_start": 1623254400, "use_time_end": 1627056000, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 1, "condition_money": 0, "money": 10, "use_goods_type": 3, "is_expired": 0, "coupon_name": "一号店店铺1", "condition_type_desc": "无门槛", "user_time_desc": "2021-06-10 00:00:00 至 2021-07-24 00:00:00", "use_scene_desc": "一号店部分商品不可用", "use_goods_desc": "仅限 测试商品999 之外的商品可用" } ], "un_suit": [] } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |suit |array|订单适用 | |un_suit |array|订单不适用 |