简要描述:

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-04-10

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
type string 类型【1=随机分配,2=评论点赞前三名,3=随机分配【人气票】】
discount_reading_currency int 要分配的总数量【阅读币】
discount_popularity_num int 要分配的总数量【人气票】

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "all_reading_currency": 130,
        "all_popularity_num": 0
    },
    "other": []
}

{
    "status": 200,
    "msg": "成功",
    "data": {
        "all_reading_currency": 0,
        "all_popularity_num": 1300
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "小说id错误"
}

data返回参数说明:

参数名 类型 说明

备注:

文档更新时间: 2023-04-24 17:06   作者:admin