企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 领券中心 **请求URL:** - ` /api/coupon/getCouponList ` **请求方式:** - GET **参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |type |可选 |string |券类型 all-全部(默认) shop-店铺券 platform-平台通用券 | |page_no |可选 |integer |页码, 默认1 | |page_size |可选 |integer |每页显示条数, 默认15 | |shop_id |可选 |integer |店铺id | |goods_id |可选 |integer |商品id | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "count": 3, "lists": [ { "id": 14, "name": "店铺优惠券1", "send_time_start": 1622476800, "send_time_end": 1624982400, "money": 10, "condition_type": 1, "condition_money": 0, "send_total_type": 1, "send_total": 0, "use_time_type": 2, "use_time_start": 0, "use_time_end": 0, "use_time": 5, "get_type": 1, "get_num_type": 1, "get_num": 0, "use_goods_type": 1, "status": 1, "create_time": 1622540193, "update_time": 1622616323, "del": 0, "shop_id": 1, "shop": { "id": 1, "name": "一号店" }, "coupon_name": "一号店店铺优惠券1", "condition_type_desc": "无门槛", "user_time_desc": "领取当天5天内可用", "use_scene_desc": "一号店全店通用", "is_get": 0 }, { "id": 16, "name": "测试券2", "send_time_start": 1619884800, "send_time_end": 1624464000, "money": "3.5", "condition_type": 2, "condition_money": 5, "send_total_type": 2, "send_total": 100, "use_time_type": 1, "use_time_start": 1622649600, "use_time_end": 1622653200, "use_time": 0, "get_type": 2, "get_num_type": 1, "get_num": 0, "use_goods_type": 2, "status": 1, "create_time": 1622598963, "update_time": 1622703350, "del": 0, "shop_id": 1, "shop": { "id": 1, "name": "一号店" }, "coupon_name": "一号店测试券2", "condition_type_desc": "满5减3.5", "user_time_desc": "2021-06-03 00:00:00 至 2021-06-03 01:00:00", "use_scene_desc": "一号店部分商品可用", "is_get": 1 }, { "id": 17, "name": "店铺2的优惠券", "send_time_start": 1622563200, "send_time_end": 1623945600, "money": "5.18", "condition_type": 2, "condition_money": 11, "send_total_type": 2, "send_total": 1, "use_time_type": 1, "use_time_start": 1622563200, "use_time_end": 1625155200, "use_time": 0, "get_type": 1, "get_num_type": 3, "get_num": 0, "use_goods_type": 1, "status": 1, "create_time": 1622617427, "update_time": 1622622019, "del": 0, "shop_id": 2, "shop": { "id": 2, "name": "二号店" }, "coupon_name": "二号店店铺2的优惠券", "condition_type_desc": "满11减5.18", "user_time_desc": "2021-06-02 00:00:00 至 2021-07-02 00:00:00", "use_scene_desc": "二号店全店通用", "is_get": 0 } ], "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|使用场景 | |is_get |int|当前用户是否领取过 0-未领取过 1-领取过 |