文档
测试

优惠券弹窗

POST
http://192.168.1.221/member/api.zx/userbonus

接口描述

John

请求参数

参数名
类型
描述
必填
apitoken
string
示例:EA6MHJ8b7496b0d4f85eb60f8c70fc494c99835HHNV2jj
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
data
object
数据字典
必填
list
array
数据列表
必填
type_name
string
示例:新春好礼券
必填
type_money
int
示例:11
必填
min_amount
string
示例:满111可用
必填
goods_type
string
示例:普通商品
必填

说明 / 示例

``` { "code": 0, "msg": "没有优惠券", "data": { }, "url": "javascript:history.back(-1);", "wait": 3 } ``` ``` { "code": 1, "msg": "success", "data": { "list": [ { "type_name": "新春好礼券", "type_money": 11, "min_amount": "满111可用", "goods_type": "普通商品" }, { "type_name": "新春好礼券", "type_money": 11, "min_amount": "满111可用", "goods_type": "普通商品" } ] } } ```