玩瞳文档中心


删除资源库中的书本API

<p><strong>服务:</strong>api-cloud <strong>API: </strong><code>cloud-api1.51wanxue.com/api-cloud/book/deleteBook/{bookId}</code> <strong>请求方式:</strong>DELETE <strong>api开发者:</strong> 生林 <strong>是否授权登录:</strong> 是 <strong>简要描述:</strong> 根据BookID删除资源库中的书本,调用API时需要先通过登录授权 。</p> <p><strong>参数:</strong> 没有入参,bookId在url中。</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;: null } 查询失败示例 { &amp;quot;code&amp;quot;: 10002, &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;"></td> <td>没有返回数据</td> </tr> </tbody> </table>

页面列表

ITEM_HTML