10 查询专题库
<p><strong>接口描述</strong></p>
<ul>
<li><code>用于获取banner数据</code></li>
</ul>
<p><strong>请求URL</strong> </p>
<ul>
<li><code>/hdk/subject</code></li>
</ul>
<p><strong>请求参数</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">location</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>对应位置</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":200,
"data":{
"page":[
{
"content":
"****舒适的午睡时光****
饭后闭上眼,赛过活神仙
苦唧唧的上班族没有条件熊猫躺
不过还是有办法睡得舒服滴
接好这波午睡好物(>▽<)
办公室午睡不要太舒服哟",
"id":624,
"image":"http://img.haodanku.com/Fi0Cosf3cG70jyyoeXCHfjD38hi1-600",
"name":"中午睡得好,下午没烦恼",
"type":2,
"url":""
},
Object{...}
]
},
"msg":"查询完成"
</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;">page</td>
<td style="text-align: left;">List<<a href="https://www.showdoc.cc/web/#/32980670939408?page_id=742769548272717" title="BannerBean">BannerBean</a>></td>
<td>banner数组</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>无</li>
</ul>