文档
测试

我的优惠券2

POST
http://192.168.1.222//shop/api.bonus/getList

请求参数

参数名
类型
描述
必填
apitoken
string
示例:CHVMYG880245e8c94aec1d1fded7651d2e2f824TNKX6jj
必填
type
int
示例:9
必填
p
int
示例:1
必填
row
int
示例:10
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
list
array
数据列表
必填
bonus_id
int
示例:335
必填
type_id
int
示例:43
必填
status
int
示例:0
必填
bonus
object
数据字典
必填
type_name
string
示例:商城消费券2
必填
type_money
int
示例:20
必填
min_amount
int
示例:0
必填
goods_type
int
示例:1
必填
use_end_date
string
示例:2030.01.05
必填
use_start_date
string
示例:2021.05.07
必填
count
int
示例:3
必填
pagenum
int
示例:1
必填
row
int
示例:10
必填
p
int
示例:1
必填
state
object
数据字典
必填
all
int
示例:3
必填
unused
int
示例:3
必填
been_used
int
示例:0
必填
failure
int
示例:0
必填
code
int
示例:1
必填
msg
string
示例:Success.
必填

说明 / 示例

``` { "data": { "list": [ { "bonus_id": 335, "type_id": 43, "status": 0, "bonus": { "type_name": "商城消费券2", "type_money": 20, "min_amount": 0, "goods_type": 1, "use_end_date": "2030.01.05", "use_start_date": "2021.05.07" } }, { "bonus_id": 334, "type_id": 43, "status": 0, "bonus": { "type_name": "商城消费券2", "type_money": 20, "min_amount": 0, "goods_type": 1, "use_end_date": "2030.01.05", "use_start_date": "2021.05.07" } }, { "bonus_id": 333, "type_id": 42, "status": 0, "bonus": { "type_name": "商城消费券1", "type_money": 10, "min_amount": 0, "goods_type": 1, "use_end_date": "2031.01.04", "use_start_date": "2021.05.07" } } ], "count": 3, "pagenum": 1, "row": 10, "p": 1, "state": { "all": 3, "unused": 3, "been_used": 0, "failure": 0 } }, "code": 1, "msg": "Success." } ```