简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-06-24

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 条数
type int 1=看小说消费阅读币,2= 打赏阅读币,6=在线购买小说章节,7=打赏人气票,
novel_id int 小说id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "list": [
            {
                "avatar": "http://awz.com/uploads/avatar/avatar.jpg",
                "username": "",
                "nickname": "",
                "novel_name": "丑妃倾天下",
                "novel_id": 1,
                "chapter_name": "",
                "type": 2,
                "reading_currencys": "40",
                "prices": "0",
                "popularity_nums": "0"
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 1
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "key错误"
}

list返回参数说明:

参数名 类型 说明
avatar string 用户头像
username string 用户名称
nickname string 用户昵称
novel_name string 小说名称
novel_id int 小说id
chapter_name string 章节名称,有些为空
type int 类型【1=看小说消费阅读币(使用reading_currencys),2= 打赏阅读币(使用reading_currencys),6=在线购买小说章节(使用prices),7=打赏人气票(使用popularity_nums)】
reading_currencys string 阅读币
prices string 价格
popularity_nums string 人气票

备注:

文档更新时间: 2020-06-24 19:40   作者:admin