文档
测试

购买记录

POST
baike.ybx.com/api/purchase-history

请求参数

参数名
类型
描述
必填
token
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
message
string
示例:请求成功
必填
data
array
数据列表
必填
id
int
示例:1
必填
user_id
int
示例:1
必填
product_id
int
示例:1
必填
no
string
订单号 示例:2021040616177030472
必填
total_amount
string
支付金额
必填
paid_at
string
支付时间 (为NULL时为未支付状态)
必填
expire_time
string
失效时间 示例:2022-04-06
必填
closed
int
示例:0
必填
payment_method
string
示例:wechat
必填
payment_no
string
示例:4200000929202104065409138732
必填
created_at
string
购买时间 示例:2021-04-06 17:57:27
必填
updated_at
string
示例:2021-04-06 18:32:47
必填
deleted_at
object
示例:null
必填
products
object
产品信息
必填
id
int
示例:1
必填
alias
string
示例:quanwei
必填
title
string
产品名 示例:监管动态会员
必填
price
string
示例:0.01
必填
created_at
string
示例:2021-04-02 09:58:13
必填
updated_at
string
示例:2021-04-02 11:10:22
必填
deleted_at
object
示例:null
必填
start_time
生效时间
必填