简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2020-08-01

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
novel_id int 小说id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "uid": 0,
        "delete_word_num": "4056",
        "all_word_num": 1000000,
        "vip_word_num": 995944,
        "currency": 3486,
        "price": "34.86",
        "wallet": [],
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "你已购买本小说",
    "data": [],
    "other": []
}

返回参数说明:

参数名 类型 说明
uid int 用户uid
wallet array 用户钱包
delete_word_num int 减免的字数
all_word_num int 所有字数/评估字数
vip_word_num int 需要收费的字数
currency int 购买全本需要的阅读币
price int 购买全本需要的金额

返回参数说明:

参数名 类型 说明
reading_currency int 阅读币数量

备注:

文档更新时间: 2020-08-03 15:30   作者:admin