简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-12-23

请求URL:

请求方式:

  • GET

请求头:

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

请求参数:

参数名 是否必须 类型 说明
cl_id int 人物id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
                "cl_id": 2,
                "name": "唐僧",
                "cover": "",
                "sex": "",
                "des": "大唐玄奘法师,金蝉子转世",
                "bg_color": "#3388ff"
            }
        ]
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "人物名称已存在",
    "data": [],
    "other": []
}

返回参数说明:

参数名 类型 说明
cl_id int 人物id
name string 人物名称
cover string 人物封面
sex string 人物性别
des string 人物简介
bg_color string 人物背景颜色

备注:

文档更新时间: 2023-02-11 16:49   作者:admin