简要描述:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2021-12-03 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
token |
是 |
string |
凭证 |
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
novel_id |
是 |
string |
书籍id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"list": [
{
"outline_id": 5,
"novel_name": "测试大纲",
"novel_label": "玄幻",
"novel_style": "热血",
"synopsis_story": "故事故事故事故事",
"word_num": "",
"theme": "",
"time_frame": "",
"storyline_json": [],
"character_json": [],
"power_json": [],
,
"more_options_json": [
{
"id": 1,
"pid": 0,
"name": "一级选项名称1",
"cover": "avatar/avatar.jpg",
"cover_url": "http://writer.com/uploads/avatar/avatar.jpg",
"content": "一级选项内容2",
"children": [
{
"id": 3,
"pid": 1,
"name": "二级选项名称1",
"cover": "avatar/avatar.jpg",
"cover_url": "http://writer.com/uploads/avatar/avatar.jpg",
"content": "二级选项内容1"
},
{
"id": 4,
"pid": 1,
"name": "二级选项名称21",
"cover": "avatar/avatar.jpg",
"cover_url": "http://writer.com/uploads/avatar/avatar.jpg",
"content": "二级选项内容21"
}
]
},
{
"id": 2,
"pid": 0,
"name": "一级选项名称2",
"cover": "",
"cover_url": "",
"content": "一级选项内容2",
"children": []
}
],
},
],
"novel": {
"novel_id": 7,
"uid": 10,
"novel_name": "测试2",
"cover": "file/2021/12/15/61b94909c4bfb.png",
"novel_tig": "测试2",
"describe": "测试2",
"channel": "free",
"cate_id": 0,
"novel_status": 0,
"grant_status": 1,
"word_num": 6,
"created_at": "2021-12-15 09:46:51",
"update_at": 1639563373,
"novel_all_word_num": "10.00"
}
},
"other": []
}
错误时返回:
返回参数说明:
参数名 |
类型 |
说明 |
outline_id |
string |
大纲id |
novel_name |
string |
作品名称 |
novel_label |
string |
故事题材 |
novel_style |
string |
故事风格 |
synopsis_story |
string |
故事梗概 |
word_num |
string |
字数 |
theme |
string |
主题 |
time_frame |
string |
时间范围 |
storyline_json |
array |
故事情节 |
character_json |
array |
人物介绍 |
power_json |
array |
势力组织 |
more_options_json |
array |
更多选项 |
备注:
文档更新时间: 2022-01-18 11:53 作者:admin