我的爱心
GET
/api/heart/my
接口描述
//收入(被打赏):type=1 //提现:type=0&use=2 注意status=状态 (考虑到其他所以默认是通过 ,会在实际操作中存储为等待)1通过 0等待 -1不通过 //转化(转化为豆子): type=0&use=1
请求头
参数名
类型
描述
必填
Content-Type
string
application/json
必填
token
string
必填
请求参数
参数名
类型
描述
必填
page
默认1
必填
pagesize
默认10
必填
type
int
0消费 1增加
必填
use
int
使用关联 默认1豆子 2提现
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:成功
必填
time
string
示例:1598948642
必填
total
int
记录条数 示例:6
必填
heart
int
当前爱心 示例:2
必填
sum_heart
int
总爱心 示例:102
必填
withdraw_heart
int
已提现爱心 示例:100
必填
id
int
示例:8
必填
beans
object
豆子转化时所需豆子 示例:null
必填
exceptional_proportion
string
转化率 示例:90
必填
createtime
string
示例:2020-09-01 15:29:35
必填
heart
int
爱心 示例:100
必填
user_id
int
所属用户 示例:2
必填
fight_id
object
示例:null
必填
type
int
0消费 1增加 示例:0
必填
remark
string
示例:爱心值100提现
必填
use
int
作用 1豆子 2提现 示例:2
必填
status
int
状态 默认是通过 1通过 0等待 -1不通过(主要用于提现)
必填
exceptional_result
int
转化结果 (最终的豆子和金额数)
必填