玩瞳文档中心


根据bookUID获取书本信息和领读资源

<p><strong>服务:</strong>api-client <strong>API: </strong><code>http://client-api1.51wanxue.com/api-client/book/query/{Uid}?token=258f1856ee030e8f1759a3c545057b86</code> <strong>请求方式:</strong>GET <strong>授权:<em>端授权方式</em> </strong>简要描述:** 通过书本资源id(bookid)获取一本书的基本信息</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;">路径参数 Uid</td> <td style="text-align: left;">String</td> <td style="text-align: left;">是</td> <td>书本的UID找对应的商务要书本列表Uid,案例:c75f2d88385d4470958b7a7b81a2bcd0</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">int</td> <td style="text-align: left;">是</td> <td>固定填0, 领读的资源,解压后里面有个json文件是每一页和音频的关系 0.Voice+audio.json</td> </tr> </tbody> </table> <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;id&amp;quot;: 2091, &amp;quot;name&amp;quot;: &amp;quot;小熊布鲁诺的冬天&amp;quot;,//书名 &amp;quot;grade&amp;quot;: 15,//年级 &amp;quot;bookId&amp;quot;: 2091, &amp;quot;coverImage&amp;quot;: &amp;quot;5de08975-cbc3-4bf7-b7e7-d18447621f0e.jpg&amp;quot;, &amp;quot;author&amp;quot;: &amp;quot;[瑞]古尼拉.英格芙兹&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;,//书本简介 &amp;quot;resourceDownloadURL&amp;quot;: &amp;quot;http://files-dev.51wanxue.cn/dev-brs/content/picturebook/archives/2091/2091-all.zip?ts=1556089878153&amp;amp;token=98c1c4914f95cfa7b09f4aca9ccb3504&amp;quot;, //领读资源压缩包 &amp;quot;timestamp&amp;quot;: 1544875209420,//资源更新时间戳 &amp;quot;isbn&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;publisher&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;seriesTitle&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;innerId&amp;quot;: 3912,//玩瞳内容id &amp;quot;thumbnailCoverImage&amp;quot;: &amp;quot;http://files-dev.51wanxue.cn/dev-brs/content/thumbnail/2091/5de08975-cbc3-4bf7-b7e7-d18447621f0e.jpg_300x300.jpg&amp;quot;, &amp;quot;extraData&amp;quot;: &amp;quot;&amp;quot;,//new &amp;quot;repoId&amp;quot;: 27,//new 资源库id &amp;quot;repoName&amp;quot;: null//new 资源库名称 } } 查询失败示例 { &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: &amp;quot;书本不存在&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>返回值为“ok”时代表请求成功,否则为请求失败的原因</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">Object</td> <td>接口返回的数据主体</td> </tr> </tbody> </table> <p><strong>bookDetailVO </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;">bookId</td> <td style="text-align: left;">long</td> <td>书本id</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;">isbn</td> <td style="text-align: left;">String</td> <td>ISBN</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;">author</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> </tbody> </table>

页面列表

ITEM_HTML