简要描述:

  • 消费记录接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-03-17

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数
type int 类型 1=看小说消费,2= 打赏阅读币,3=鲜花,4=购买vip套餐 , 5=兑换鲜花 ,6=在线购买小说章节,7=打赏人气票,8=兑换人气票,9=打赏金额 10=刷新工作室小说-消费人气票,【多选,则逗号隔开,例如:7,10

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": [
        {
            "record_id": 33,
            "type": 2,
            "remark": "给小说赠送阅读币",
            "create_at": "2020-04-14 16:04:11",
            "flower_num": 0,
            "reading_currency": 10,
            "novel_name": "丑妃倾天下"
        },
        {
            "record_id": 32,
            "type": 2,
            "remark": "给小说赠送阅读币",
            "create_at": "2020-04-14 16:00:30",
            "flower_num": 0,
            "reading_currency": 10,
            "novel_name": "丑妃倾天下"
        }
    ]
}

错误时返回:

{
    "status": 0,
    "msg": "token过期"
}

返回参数说明:

参数名 类型 说明
record_id int 记录id
type int 类型 1=看小说消费,2= 打赏,3=鲜花,4=购买vip套餐
remark string 备注
create_at string 创建时间
flower_num int 花费的鲜花
reading_currency int 花费的阅读币

备注:

文档更新时间: 2020-07-21 16:16   作者:admin