获取客户私有资源库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>{
&quot;code&quot;: 0,
&quot;msg&quot;: &quot;ok&quot;,
&quot;data&quot;: [
{
&quot;repoId&quot;: 2,
&quot;name&quot;: &quot;1213&quot;
},
{
&quot;repoId&quot;: 18,
&quot;name&quot;: &quot;超级板&quot;
},
{
&quot;repoId&quot;: 19,
&quot;name&quot;: &quot;V2_AR学字母_2&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>