简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-11-29

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string token参数

验证码登录请求参数:

参数名 是否必须 类型 说明
type string pc=PC端,app=APP端

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "type": "pc",
        "name": "PC端默认皮肤",
        "json_str": {
            "top_color": "#D53939",
            "bottom_color": "#F46E6E",
            "sidebar_picture": "http://unovel.com/uploads/pc/2021/11/29/61a499e217bcc.png",
            "bottom_background_color": "#000",
            "bottom_background_picture": "http://unovel.com/uploads/pc/2021/11/29/61a499e25a5ca.png"
        },
        "tig": "default",
        "start_day": "2021-12-01",
        "end_day": "2021-12-31"
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证码错误"
}

返回参数说明:

参数名 类型 说明
type string 小说id
name string 小说封面
json_str.top_color string 头部导航头部颜色
json_str.bottom_color string 头部导航底部颜色
json_str.sidebar_picture string 侧边栏图片
json_str.bottom_background_picture string 底部图片
json_str.bottom_background_picture string 底部背景字体颜色
tig string 标识
start_day string 开始时间
end_day string 结束时间

备注:

文档更新时间: 2021-12-02 15:18   作者:admin