简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
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
start_time int 开始时间
end_time int 结束时间

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "获取成功",
    "data": {
        "list": [
            {
                "avatar": "http://awz.com/uploads/avatar/avatar.jpg",
                "username": "",
                "nickname": "",
                "novel_name": "霸主轮回",
                "novel_id": 8,
                "chapter_name": "",
                "type": 7,
                "reading_currency": "0",
                "price": "0",
                "popularity_num": "10",
                "create_at": "2020-06-23 17:40:18"
            }
        ],
        "page": 1,
        "pagesize": 1,
        "total": 2,
        "all": {
            "reading_currency_all": "0",
            "price_all": "0",
            "popularity_num_all": "20",
            "num_all": "2"
        }
    },
    "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_currency string 阅读币
price string 价格
popularity_num string 人气票
create_at string 时间

all返回参数说明:

参数名 类型 说明
reading_currency_all string 阅读币总数
price_all string 价格总数
popularity_num_all string 人气票总数
num_all string 查询条数

备注:

文档更新时间: 2020-06-24 20:37   作者:admin