玩瞳文档中心


家长端根据书名搜索可读资源情况

<p><strong>服务:</strong>api-cloud <strong>API: </strong><code>cloud-api1.51wanxue.com/api-cloud/user/book/search?&amp;amp;bookName={bookName}</code> <strong>请求方式:</strong>GET <strong>api开发者:</strong> <strong>简要描述:</strong> 通过书本名查询书本列表信息。</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;">bookName</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>书本名</td> </tr> <tr> <td style="text-align: left;">openId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>设备的玩瞳openID,可从APP的某个设备里获取</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>页</td> </tr> <tr> <td style="text-align: left;">pageSize</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>页大小</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code class="language-json">查询成功示例 { &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: &amp;quot;书本不存在&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;pagination&amp;quot;: { &amp;quot;pageSize&amp;quot;: 15, &amp;quot;currentPage&amp;quot;: 1, &amp;quot;totalRecord&amp;quot;: 2, &amp;quot;limit&amp;quot;: 15, &amp;quot;pages&amp;quot;: 14, &amp;quot;recordStartIndex&amp;quot;: 0, &amp;quot;recordEndIndex&amp;quot;: 30 } &amp;quot;bookList&amp;quot;: [ { &amp;quot;bookInfo&amp;quot;: { &amp;quot;bookId&amp;quot;: 306824, &amp;quot;name&amp;quot;: &amp;quot;我是?&amp;quot;, &amp;quot;author&amp;quot;: &amp;quot;赵慕荣&amp;quot;, &amp;quot;publisher&amp;quot;: &amp;quot;public&amp;quot;, &amp;quot;coverImage&amp;quot;: &amp;quot;5de7363a-f818-48ca-886c-ac724fd4e3bc.jpg&amp;quot;, &amp;quot;thumbnailUrl&amp;quot;: &amp;quot;http://files-dev.51wanxue.cn/brs/content/thumbnail/2041/5de7363a-f818-48ca-886c-ac724fd4e3bc_300x300.jpg&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;resourceType&amp;quot;: 0 }, &amp;quot;labels&amp;quot;: [] }, { &amp;quot;bookInfo&amp;quot;: { &amp;quot;bookId&amp;quot;: 14413, &amp;quot;name&amp;quot;: &amp;quot;我是罗密欧&amp;quot;, &amp;quot;author&amp;quot;: &amp;quot;【法】克利斯提昂·约里波瓦&amp;quot;, &amp;quot;publisher&amp;quot;: &amp;quot;二十一世纪出版社&amp;quot;, &amp;quot;coverImage&amp;quot;: &amp;quot;dcbcaeea-fe9d-4b2a-b360-9fcc0fc15a84.jpg&amp;quot;, &amp;quot;thumbnailUrl&amp;quot;: &amp;quot;http://files-api1.51wanxue.com//brs/content/basebook/27/14413/dcbcaeea-fe9d-4b2a-b360-9fcc0fc15a84.jpg&amp;quot;, &amp;quot;description&amp;quot;: &amp;quot;卡梅利多很喜欢小凯丽,却不知道怎么表达,他因此每天晚上都做噩梦,吵得大家睡不好觉,结果被赶出了鸡舍。卡梅利多遇见了著名的剧作家莎士比亚,莎士比亚被他真挚的情感所感染,邀请他担任新剧的男主角。但在排练时,坏蛋田鼠抓走了小凯丽,英勇的卡梅利多能救出美丽的小凯丽吗? 别忘了,在舞台上,莎士比亚就是头儿,卡梅利多就是罗密欧!&amp;quot;, &amp;quot;resourceType&amp;quot;: 3 }, &amp;quot;labels&amp;quot;: [&amp;quot;语言发展&amp;quot;] } ] } } </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>bookInfo </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;">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;">coverImage</td> <td style="text-align: left;">String</td> <td>封面图</td> </tr> <tr> <td style="text-align: left;">thumbnailUrl</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;">resourceType</td> <td style="text-align: left;">int</td> <td>支持的资源类型: 0:无资源 1:领读资源 2:点读资源 3 领读点读</td> </tr> </tbody> </table> <p><strong>bookLabels </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;">bookLabels</td> <td style="text-align: left;">String[]</td> <td>标签数组</td> </tr> </tbody> </table>

页面列表

ITEM_HTML