💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
**简要描述:** - 领券中心 **请求URL:** - ` api/coupon/couponList ` **请求方式:** - get **参数:** |参数名|是否必选|类型|说明| |:---- |:---|:----- |----- | |shop_id |选填 |int |店铺id:不传则获取全部优惠券;传店铺id则获取指定店铺优惠券 | **返回示例** ``` { "code":1, "msg":"获取成功", "data":{ "list":[ { "id":1, "name":"满50减20", "money":"20.00", "is_get":0, "coupon_type":"平台通用券", "use_time_tips":"有效期至:2020-07-19 18:37", "use_condition":"满20.00元可用" }, { "id":2, "name":"满50减20", "money":"20.00", "is_get":0, "coupon_type":"平台通用券", "use_time_tips":"2020-07-16 14:50-2020-07-16 14:50", "use_condition":"满0.1元可用" }, { "id":3, "name":"满50减20", "money":"20.00", "is_get":0, "coupon_type":"平台通用券", "use_time_tips":"2020-07-16 14:50-2020-07-16 14:50", "use_condition":"满0.1元可用" }, { "id":4, "name":"哈哈哈", "money":"20.00", "is_get":0, "coupon_type":"店铺指定商品券", "use_time_tips":"1970-01-01 08:00-1970-01-01 08:00", "use_condition":"满0.1元可用" }, { "id":12, "name":"测试优惠券", "money":"200.00", "is_get":0, "coupon_type":"店铺指定商品券", "use_time_tips":"2020-07-16 00:00-2020-07-16 00:00", "use_condition":"满0.1元可用" }, { "id":13, "name":"测试优惠券", "money":"200.00", "is_get":0, "coupon_type":"店铺通用券", "use_time_tips":"2020-07-16 00:00-2020-07-16 00:00", "use_condition":"满0.1元可用" }, { "id":14, "name":"测完", "money":"20.00", "is_get":0, "coupon_type":"店铺通用券", "use_time_tips":"2020-07-16 00:00-2021-07-16 00:00", "use_condition":"满0.1元可用" } ], "page":1, "size":15, "count":7, "more":0 }, "show":0, "time":"0.303079", } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |id |int |订单id |name |int |优惠券名称 |money |int |优惠券面额 |is_get |int |是否已领取1-是;0-否 |coupon_type |string |优惠券类型 |use_time_tips |string |优惠券使用时间 |use_condition |string |使用条件 **备注** - 这里是备注信息