玩瞳文档中心


搜索私有资源库书本信息

<p><strong>服务:</strong>api-cloud <strong>API: </strong><code>cloud-api1.51wanxue.com/api-cloud/book/search</code> <strong>请求方式:</strong>GET <strong>api开发者:</strong> <strong>简要描述:</strong> 通过书名/ISBN搜索客户私有资源库书本信息,登录需授权.</p> <p><strong>参数:</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">isbn</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>isbn</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">否</td> <td style="text-align: left;">String</td> <td>书名</td> </tr> </tbody> </table> <p><strong>备注</strong>: 1.当isbn和name字段都存在时,结果为搜索结果的并集; 2.isbn和name字段至少存在一项; 3.只从客户私库中查找。</p> <p><strong>返回示例</strong></p> <pre><code class="language-json">查询成功示例 { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;repoName&amp;quot;: &amp;quot;绘本【测试专用】&amp;quot;, &amp;quot;id&amp;quot;: 15858, &amp;quot;name&amp;quot;: &amp;quot;我爸爸&amp;quot;, &amp;quot;coverImage&amp;quot;: &amp;quot;http://files-dev.51wanxue.cn/brs/content/thumbnail/15858/44d386ee-6653-4a29-a21f-58bb2fe9f347_300x300.jpg&amp;quot;, &amp;quot;author&amp;quot;: &amp;quot;【英】安东尼·布朗&amp;quot;, &amp;quot;publisher&amp;quot;: &amp;quot;2122222&amp;quot;, &amp;quot;description&amp;quot;: null, &amp;quot;totalPage&amp;quot;: 17, &amp;quot;isbn&amp;quot;: &amp;quot;9787543464582&amp;quot;, &amp;quot;seriesTitle&amp;quot;: &amp;quot;1&amp;quot;, &amp;quot;edition&amp;quot;: &amp;quot;2&amp;quot; } ] } 查询失败示例 { &amp;quot;code&amp;quot;: 100100, &amp;quot;msg&amp;quot;: &amp;quot;book not found&amp;quot;, &amp;quot;data&amp;quot;: null }</code></pre> <p><strong>返回数据参数说明 </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>请求返回码 0(表示成功)</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">String</td> <td>系统返回提示</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">Object[]</td> <td>返回书本数据</td> </tr> </tbody> </table> <p><strong>data </strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">repoName</td> <td style="text-align: left;">String</td> <td>资源库名称</td> </tr> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">int</td> <td>bookId</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">String</td> <td>书名</td> </tr> <tr> <td style="text-align: left;">coverImage</td> <td style="text-align: left;">String</td> <td>封面图片Id</td> </tr> <tr> <td style="text-align: left;">author</td> <td style="text-align: left;">String</td> <td>作者</td> </tr> <tr> <td style="text-align: left;">publisher</td> <td style="text-align: left;">String</td> <td>出版社</td> </tr> <tr> <td style="text-align: left;">description</td> <td style="text-align: left;">String</td> <td>描述</td> </tr> <tr> <td style="text-align: left;">totalPage</td> <td style="text-align: left;">int</td> <td>总页数</td> </tr> <tr> <td style="text-align: left;">publisher</td> <td style="text-align: left;">String</td> <td>出版社</td> </tr> <tr> <td style="text-align: left;">seriesTitle</td> <td style="text-align: left;">String</td> <td>所属系列</td> </tr> <tr> <td style="text-align: left;">edition</td> <td style="text-align: left;">int</td> <td>书本版次</td> </tr> </tbody> </table>

页面列表

ITEM_HTML