文档
测试

获取可用优惠券--确认订单页

GET
http://test.luckyuan.net/api/mall/GetCoupon?shop_id=1

请求参数

参数名
类型
描述
必填
shop_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
data
array
数据列表
必填
id
int
示例:1
必填
limit_money
string
示例:50.0000
必填
discount
string
示例:10.0000
必填
type
int
示例:1
必填

说明 / 示例

{ "msg": "获取成功", "data": [ { "id": 1, "limit_money": "50.0000", "discount": "10.0000" }, { "id": 2, "limit_money": "20.0000", "discount": "5.0000" }, { "id": 3, "limit_money": "120.0000", "discount": "30.0000" } ], "type": 1 }