玩瞳文档中心


获取客户私有资源库ID

<p><strong>服务:</strong>api-cloud <strong>API:</strong><code>cloud-api1.51wanxue.com/api-cloud/repo/listOfPartner</code> <strong>请求方式:</strong> GET <strong>api开发者:</strong> 建宇 <strong>是否授权登录:</strong> 是 <strong>简要描述:</strong>根据客户ID获取客户资源库ID及名称(需登录需授权)</p> <p><strong>参数:</strong> 没有入参,客户ID在SESSION中,无需传参。</p> <p><strong>返回示例</strong></p> <p>json :</p> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;ok&amp;quot;, &amp;quot;data&amp;quot;: [ { &amp;quot;repoId&amp;quot;: 2, &amp;quot;name&amp;quot;: &amp;quot;1213&amp;quot; }, { &amp;quot;repoId&amp;quot;: 18, &amp;quot;name&amp;quot;: &amp;quot;超级板&amp;quot; }, { &amp;quot;repoId&amp;quot;: 19, &amp;quot;name&amp;quot;: &amp;quot;V2_AR学字母_2&amp;quot; } ] }</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>返回消息类型</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;">Array</td> <td>返回登录用户的资源库信息数据</td> </tr> </tbody> </table> <p><strong>data</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;">repoId</td> <td style="text-align: left;">int</td> <td>资源库id</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">String</td> <td>资源库名字</td> </tr> </tbody> </table>

页面列表

ITEM_HTML