接口文档

错误代码说明

返回首页

错误返回值格式

JSON

{"code":-10001,"message":"failure,Please Consult the code table!"}

错误代码说明

20502

2 01 02
服务级错误(1为系统级错误) 错误类别代码 具体错误代码

错误代码对照表

系统级错误代码

错误代码 错误信息 详细描述
10001 System error! 系统错误
10002 Key is null! key为空
10003 Key error! 密钥错误
10004 Unauthorized! 未授权
10005 An attribute value is empty! 某个属性的值为空,请做检查

服务级错误代码

错误代码 错误信息 详细描述
20101 CPID is null! CPID为空
20102 CP CopyrightId is null! CP版权ID为空
20103 Book Image Url is null! 书封图片地址为空
20104 Book Name is null! 书籍名称为空
20105 Author is null! 作者名称为空
20106 Book Intro is null! 书籍简介为空
20107 Classid is null! 建议分类ID为空
20108 Serial is null! 是否连载属性为空
20109 Isvip is null! 是否收费属性为空
20110 Chapter Name is null! 章节名称为空
20111 Chapter num is null! 章节序号为空
20112 Chapter Isvip is null! 章节是否收费为空
20113 CP ChapterID is null! CP章节ID为空
20114 Updatemode attribute is null! Updatemode状态为空
20115 StartPage is null! 分页查询没有开始页
20116 length of book intro is out of max range 书籍介绍长度超过最大值
20117 bookid attribute is null! 书籍ID为空
- - -
20201 Repeat to add the same book! 添加相同书籍
20202 Parts repeat! 章节重复
- - -
20301 The book does not exist! 此书不存在
20302 There is no part! 章节不存在
20303 Copyright not exist! 版权不存在
- - -
20401 StartPage value of more than 1000 分页范围值超过1000
- - -
20501 Tadu return bookid is null! 塔读返回的Bookid为空
20502 This book cannot be deleted! 书籍已上线不能删除
20503 This chapter cannot be deleted! 章节已上线不能删除
20504 This list is null! 书籍列表为空
20505 Delete fail! 删除异常
20506 This chapter cannot be update! 章节已上线不能修改
20507 The same request hasn't completed! 请求重复
- - -