获取可用优惠券
URL地址 | http://www.tpshop.com/index.php?m=api&c=User&a=getCartStoreCoupons |
请求方式 | get |
参数列表
参数 | 是否必须 | 说明 |
p | 可选 | 第几页,默认1 |
store_id | 必填 | 商店id,0:所有商店,非0:具体商店,默认0 |
money | 必填 | 消费金额 |
goods_id | 可选 | 消费商品 |
item_id | 可选 | 规格组合ID |
goods_num | 必填 | 购买数量 |
示例:
成功返回: { "status":1, "msg":"获取成功", "result":[ { "limit_store":"TPSHP旗舰店指定商品可用", "id":27, "name":"七夕50元券", "money":"50.00", "condition":"150.00", "use_start_time":1504008427, "use_end_time":1509278827 }, { "limit_store":"TPSHP旗舰店全店通用", "id":26, "name":"七夕100元免费抢", "money":"100.00", "condition":"1000.00", "use_start_time":1504008381, "use_end_time":1509278781 }, { "limit_store":"TPSHP旗舰店指定分类商品可用", "id":31, "name":"200元券", "money":"200.00", "condition":"11000.00", "use_start_time":1503991772, "use_end_time":1509348572 } ] }