获取目录对应的资源编号信息
<p><strong>服务:</strong>api-client
<strong>API: </strong><code>http://client-api1.51wanxue.com/api-client/dir/getThirdDirId</code>
<strong>请求方式:</strong>GET
<strong>api开发者:</strong> 雨乐
<strong>是否授权登录:</strong> 是
<strong>请求示例:</strong> <a href="http://client-api1.51wanxue.com/api-client/dir/getThirdDirId">http://client-api1.51wanxue.com/api-client/dir/getThirdDirId</a>
<strong>简要描述:</strong>
获取目录对应的资源编号信息</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;">dirId</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;: { //Map&lt;Integer, List&lt;Long&gt;&gt;, key是第三方目录类型(4=导学号) value是第三方目录id
&quot;2&quot;: [
50719,
59393,
59394,
59395
],
&quot;4&quot;: [
50719,
50719,
50719,
59393,
59394,
59395
]
}
}</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>