联想词
<p><strong>简要描述:</strong> </p>
<ul>
<li>建议用户停止输入时进行接口请求</li>
<li>参考效果
<img src="https://www.showdoc.cc/server/api/common/visitfile/sign/78347b258dc36528f293e8e48fa38808?showdoc=.jpg" alt="联想词" title="联想词" /></li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/api/goods/search_suggest</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET </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>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">keyword</td>
<td style="text-align: left;">关键词</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>例:手机</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code": 0,
"msg": "返回成功",
"data": [
"手机壳",
"手机壳苹果",
"手机壳苹果x",
"手机壳苹果xr",
"手机壳xr",
"手机壳苹果8plus",
"手机壳苹果11",
"手机壳苹果xmax",
"手机壳苹果7plus",
"手机壳8plus"
]
}</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;">data</td>
<td style="text-align: left;">联想词</td>
<td>array</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>