{
"goods_id":42,
"catalog_id":[1159,1130],
}
参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
goods_id | 42 | 是 | Int | 商品id |
catalog_id | [1159,1130] | 是 | Array | 商品分类id |
{
"status":"success",
"message":"获取成功",
"data":[{"id":19,"title":"100元优惠券","send_type":1,"type":1,"catalog_id":0,"goods_id":[],"price":100,"use_min_type":0,"use_min_price":"0.00","use_time_type":1,"use_day":7,"use_start_time":0,"use_end_time":0,"time_limit":0,"start_time":1675216804,"end_time":1990576804,"number_limit":0,"number":9223372036854775807,"surplus":9223372036854775807,"status":1,"create_time":"2023-02-01 10:00","c_type":"通用券","c_time_limit":"不限时","record":1},{"id":17,"title":"满0减50","send_type":1,"type":1,"catalog_id":0,"goods_id":[],"price":50,"use_min_type":0,"use_min_price":"0.00","use_time_type":1,"use_day":2,"use_start_time":0,"use_end_time":0,"time_limit":0,"start_time":1672817403,"end_time":1988177403,"number_limit":0,"number":9223372036854775807,"surplus":9223372036854775807,"status":1,"create_time":"2023-01-04 15:30","c_type":"通用券","c_time_limit":"不限时","record":1}]
}
参数名 | 参数值 | 参数类型 | 描述说明 |
status
|
success | String | 状态 |
message |
获取成功
|
String |
描述 |
data |
[]
|
Array | 可用的优惠券 |