根据图像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">查询成功示例
{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: {
&quot;editionInfo&quot;: {
&quot;id&quot;: 55,
&quot;innerId&quot;: &quot;55677&quot;,
&quot;isbn&quot;: &quot;9787107252204&quot;,
&quot;edition&quot;: &quot;2012-10(1)&quot;,
&quot;impression&quot;: &quot;2019-1(5)&quot;,
&quot;publisher&quot;: &quot;人民教育出版社&quot;,
&quot;subject&quot;: 3,
&quot;grade&quot;: 3,
&quot;volume&quot;: 2,
&quot;createdTime&quot;: &quot;2022-07-19 15:06:47&quot;,
&quot;updateTime&quot;: &quot;2022-07-19 15:06:47&quot;
},
&quot;dirTree&quot;: [
{
&quot;id&quot;: 19031,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 1 Let's go to school.&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 19032,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 2 I'm in Class One, Grade Three.&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 19033,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 3 This is my father.&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 19034,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 4 Do you like candy?&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 19035,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 5 It's a parrot.&quot;,
&quot;children&quot;: []
},
{
&quot;id&quot;: 19036,
&quot;fatherId&quot;: 0,
&quot;directoryName&quot;: &quot;Unit 6 Is this your skirt?&quot;,
&quot;children&quot;: []
}
],
&quot;guideIds&quot;: null
}
}</code></pre>
<p><strong>无数据返回示例</strong></p>
<pre><code class="language-json">{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&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>