获取搜索类别
<h3>请求路由url</h3>
<p>/api/search/getSearchTypes</p>
<h3>请求方式</h3>
<p>get</p>
<h3>get请求参数</h3>
<table>
<thead>
<tr>
<th style="text-align: center;"><strong> 参数 </strong></th>
<th style="text-align: center;"><strong> 说明 </strong></th>
<th style="text-align: center;"><strong> 类型 </strong></th>
<th style="text-align: center;"><strong> 是否必要 </strong></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h3>请求结果</h3>
<pre><code class="language-json">{
"code": 1,
"msg": "ok",
"time": "1642391882",
"data": [
{
"key": 0,
"name": "全部"
},
{
"key": 1,
"name": "商品"
},
{
"key": 2,
"name": "任务"
}
]
}</code></pre>
<h3>备注</h3>