玩瞳文档中心


根据图像id或编号获取目录结构

<p><strong>服务:</strong>api-client <strong>API: </strong><code>http://client-api1.51wanxue.com/api-client/dir/getEditionAndDirs?token={{token}}</code> <strong>请求方式:</strong>GET <strong>api开发者:</strong> 雨乐 <strong>是否授权登录:</strong> 是 <strong>请求示例:</strong> <a href="http://client-api1.51wanxue.com/api-client/dir/getEditionAndDirs?token={{token">http://client-api1.51wanxue.com/api-client/dir/getEditionAndDirs?token={{token</a>}} <strong>简要描述:</strong> 根据图像id或编号获取目录结构</p> <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;">innerId</td> <td style="text-align: left;">string</td> <td>书本编号,innerId和baseBookId两个参数必须传一个</td> </tr> <tr> <td style="text-align: left;">baseBookId</td> <td style="text-align: left;">long</td> <td>书本id</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;editionInfo&amp;quot;: {             &amp;quot;id&amp;quot;: 55,             &amp;quot;innerId&amp;quot;: &amp;quot;55677&amp;quot;,             &amp;quot;isbn&amp;quot;: &amp;quot;9787107252204&amp;quot;,             &amp;quot;edition&amp;quot;: &amp;quot;2012-10(1)&amp;quot;,             &amp;quot;impression&amp;quot;: &amp;quot;2019-1(5)&amp;quot;,             &amp;quot;publisher&amp;quot;: &amp;quot;人民教育出版社&amp;quot;,             &amp;quot;subject&amp;quot;: 3,             &amp;quot;grade&amp;quot;: 3,             &amp;quot;volume&amp;quot;: 2,             &amp;quot;createdTime&amp;quot;: &amp;quot;2022-07-19 15:06:47&amp;quot;,             &amp;quot;updateTime&amp;quot;: &amp;quot;2022-07-19 15:06:47&amp;quot;         },         &amp;quot;dirTree&amp;quot;: [             {                 &amp;quot;id&amp;quot;: 19031,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 1 Let's go to school.&amp;quot;,                 &amp;quot;children&amp;quot;: []             },             {                 &amp;quot;id&amp;quot;: 19032,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 2 I'm in Class One, Grade Three.&amp;quot;,                 &amp;quot;children&amp;quot;: []             },             {                 &amp;quot;id&amp;quot;: 19033,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 3 This is my father.&amp;quot;,                 &amp;quot;children&amp;quot;: []             },             {                 &amp;quot;id&amp;quot;: 19034,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 4 Do you like candy?&amp;quot;,                 &amp;quot;children&amp;quot;: []             },             {                 &amp;quot;id&amp;quot;: 19035,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 5 It's a parrot.&amp;quot;,                 &amp;quot;children&amp;quot;: []             },             {                 &amp;quot;id&amp;quot;: 19036,                 &amp;quot;fatherId&amp;quot;: 0,                 &amp;quot;directoryName&amp;quot;: &amp;quot;Unit 6 Is this your skirt?&amp;quot;,                 &amp;quot;children&amp;quot;: []             }         ],         &amp;quot;guideIds&amp;quot;: null     } }</code></pre> <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 }</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>

页面列表

ITEM_HTML