新增卡券
POST
http://test.luckyuan.net/api/shop/SaveCoupon
请求参数
参数名
类型
描述
必填
shop_id
int
店铺ID 示例:1
必填
coupon_type
int
卡券类型 0满减 1满折
必填
discount
int
优惠金额 满减全直接减掉 满折券打对应的折数 例7折存0.7
必填
total_num
int
卡券数量
必填
limit_money
int
使用条件 满X 示例:120
必填
响应参数
参数名
类型
描述
必填
msg
string
示例:保存成功!
必填
data
array
数据列表
必填
type
int
示例:1
必填