玩瞳文档中心


通过书本资源ID查询书本的图像ID

<p><strong>服务:</strong>api-cloud <strong>API: </strong><code>cloud-api1.51wanxue.com/api-cloud/book/getBaseBookId/{bookId}</code> <strong>请求方式:</strong> <strong>api开发者:</strong> cgl GET <strong>简要描述:</strong> 客户能通过资源库BookId查询到玩瞳图像库的BookId的API 。需token授权</p> <p><strong>请求样例:</strong></p> <pre><code>cloud-api1.51wanxue.com/api-cloud/book/getBaseBookId/12</code></pre> <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;">bookId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>资源库书本id</td> </tr> </tbody> </table> <p><strong>备注:</strong></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;baseBookId&amp;quot;: 1 } ] }</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>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;">baseBookId</td> <td style="text-align: left;">int</td> <td>玩瞳图像库的id</td> </tr> </tbody> </table>

页面列表

ITEM_HTML