玩瞳文档中心


获取目录对应的资源编号信息

<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">查询成功示例 { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;data&amp;quot;: { //Map&amp;lt;Integer, List&amp;lt;Long&amp;gt;&amp;gt;, key是第三方目录类型(4=导学号) value是第三方目录id &amp;quot;2&amp;quot;: [ 50719, 59393, 59394, 59395 ], &amp;quot;4&amp;quot;: [ 50719, 50719, 50719, 59393, 59394, 59395 ] } }</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