文档
测试

我的豆子

GET
/api/beans/my

接口描述

//转化 type=1&use=1 //充值 type=1&use=2 //消费 type=0

请求头

参数名
类型
描述
必填
Content-Type
string
application/json
必填
token
string
必填

请求参数

参数名
类型
描述
必填
page
int
默认1
必填
pagesize
int
默认10
必填
type
int
0消费 1增加
必填
use
int
使用关联 默认1爱心 2现金
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:成功
必填
time
string
示例:1598948498
必填
data
object
数据字典
必填
total
int
豆子变动记录总数 示例:6
必填
beans
int
豆子总数 示例:98070
必填
rows
array
数据列表
必填
id
int
示例:10
必填
beans
int
豆子 示例:1000
必填
createtime
string
示例:2020-09-01 16:19:09
必填
user_id
int
示例:2
必填
remark
string
示例:礼物 何仙姑
必填
type
int
类型 0消费 1增加 示例:0
必填
send_id
int
赠送对象 示例:3
必填
order_id
object
关联订单 示例:null
必填
gift_id
int
关联礼物 示例:1
必填