企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 我的优惠券 **请求URL:** - ` /api/coupon/myCouponList ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |type |可选 |string |类型 valid-可使用(默认) used-已使用 expired-已失效 | |page_no |可选 |integer |页码, 默认1 | |page_size |可选 |integer |每页显示条数, 默认15 | **返回示例** 个人中心我的优惠券: ``` { "code": 1, "show": 0, "msg": "", "data": { "count": 5, "lists": [ { "id": 33, "user_id": 14, "coupon_id": 15, "coupon_code": "URXW374289", "status": 0, "order_id": null, "use_time": null, "create_time": 1622630066, "update_time": 1622630066, "del": 0, "name": "测试券3", "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1623254400, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 2, "condition_money": "20.99", "money": "15.2", "use_goods_type": 2, "is_expired": 0, "coupon_name": "一号店测试券3", "condition_type_desc": "满20.99减15.2", "user_time_desc": "2021-06-02 00:00:00 至 2021-06-10 00:00:00", "use_scene_desc": "一号店部分商品可用", "use_goods_desc": "仅限 商品1-0、测试商品999 商品可用" }, { "id": 29, "user_id": 14, "coupon_id": 15, "coupon_code": "HNJU728649", "status": 0, "order_id": null, "use_time": null, "create_time": 1622630048, "update_time": 1622630048, "del": 0, "name": "测试券3", "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1623254400, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 2, "condition_money": "20.99", "money": "15.2", "use_goods_type": 2, "is_expired": 0, "coupon_name": "一号店测试券3", "condition_type_desc": "满20.99减15.2", "user_time_desc": "2021-06-02 00:00:00 至 2021-06-10 00:00:00", "use_scene_desc": "一号店部分商品可用", "use_goods_desc": "仅限 商品1-0、测试商品999 商品可用" }, { "id": 25, "user_id": 14, "coupon_id": 15, "coupon_code": "QVKL856237", "status": 0, "order_id": null, "use_time": null, "create_time": 1622630004, "update_time": 1622630004, "del": 0, "name": "测试券3", "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1623254400, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 2, "condition_money": "20.99", "money": "15.2", "use_goods_type": 2, "is_expired": 0, "coupon_name": "一号店测试券3", "condition_type_desc": "满20.99减15.2", "user_time_desc": "2021-06-02 00:00:00 至 2021-06-10 00:00:00", "use_scene_desc": "一号店部分商品可用", "use_goods_desc": "仅限 商品1-0、测试商品999 商品可用" }, { "id": 21, "user_id": 14, "coupon_id": 15, "coupon_code": "FLJV872456", "status": 0, "order_id": null, "use_time": null, "create_time": 1622629943, "update_time": 1622629943, "del": 0, "name": "测试券3", "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1623254400, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 2, "condition_money": "20.99", "money": "15.2", "use_goods_type": 2, "is_expired": 0, "coupon_name": "一号店测试券3", "condition_type_desc": "满20.99减15.2", "user_time_desc": "2021-06-02 00:00:00 至 2021-06-10 00:00:00", "use_scene_desc": "一号店部分商品可用", "use_goods_desc": "仅限 商品1-0、测试商品999 商品可用" }, { "id": 17, "user_id": 14, "coupon_id": 15, "coupon_code": "MSQC237685", "status": 0, "order_id": null, "use_time": null, "create_time": 1622629863, "update_time": 1622629863, "del": 0, "name": "测试券3", "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1623254400, "coupon_use_time": 0, "shop_name": "一号店", "condition_type": 2, "condition_money": "20.99", "money": "15.2", "use_goods_type": 2, "is_expired": 0, "coupon_name": "一号店测试券3", "condition_type_desc": "满20.99减15.2", "user_time_desc": "2021-06-02 00:00:00 至 2021-06-10 00:00:00", "use_scene_desc": "一号店部分商品可用", "use_goods_desc": "仅限 商品1-0、测试商品999 商品可用" } ], "page_no": 1, "page_size": 15, "more": 0 } } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |money |decimal|优惠券金额 | |condition_type_desc |string|使用门槛 | |coupon_name |string|优惠券名称 | |user_time_desc |string|有效期 | |use_scene_desc |string|使用场景 | |use_goods_desc |string|使用说明 |