宠物猫品类搜索
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>宠物品类搜索接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.1.31:8080/cat/catClassQuery</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">title</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>品种名称</td>
</tr>
<tr>
<td style="text-align: left;">lang</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>中文zh 英文en</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"msg": "操作成功",
"code": 0,
"data": {
"A": [
{
"searchValue": null,
"params": {},
"id": 2,
"title": "埃及猫",
"icon": null,
"letter": "1",
"isHot": 0,
"titleEn": "egyptian cat"
},
{
"searchValue": null,
"params": {},
"id": 5,
"title": "埃及猫2",
"icon": null,
"letter": null,
"isHot": null,
"titleEn": "Egyptian cat2"
}
],
"B": [
{
"searchValue": null,
"params": {},
"id": 4,
"title": "波斯猫",
"icon": null,
"letter": null,
"isHot": 1,
"titleEn": "Persian cat"
}
],
"Z": [
{
"searchValue": null,
"params": {},
"id": 3,
"title": "中华田园猫",
"icon": null,
"letter": null,
"isHot": 1,
"titleEn": "Chinese garden cat"
}
]
}
}</code></pre>