更新书籍信息
http://topenapi.tadu.com:8098/api/updateBook
JSON
POST
是
访问级别:高级接口(需要授权)
| 必选 | 类型及范围 | 说明 | |
|---|---|---|---|
| key | true | Integer | 密钥 |
| cpid | true | Integer | CP书籍ID |
| copyrightid | true | Integer | CP版权ID |
| intro | true | string | 简介 需要用URLEncoder做转义 如果不修改,请去掉此项 |
| classid | true | Integer | 建议分类ID 如果不修改,请去掉此项 |
| serial | true | Integer | 是否连载 1连载0全本 如果不修改,请去掉此项 |
JSON示例
{"code":0,"message":"success!","result":{"bookid":"13725602"}}
关于错误返回值与错误代码,参见 错误代码说明
| 返回值字段 | 字段类型 | 字段说明 |
|---|---|---|
| code | Integer | 0 成功;非0 失败 |
| message | string | message 是对code的解释 |
| result | string | 返回给CP的结果 |
| bookid | Integer | 塔读返回的bookid用于添加章节和查询信息使用 |
无