商品搜索
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>商品搜索接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/user/product/search</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">keyword</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>关键词</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 1,
&quot;merchantId&quot;: 12154545,
&quot;traceablilityId&quot;: 1212121,
&quot;name&quot;: &quot;莆田螃蟹&quot; ,
&quot;shortName&quot;: &quot;螃蟹&quot;,
&quot;price&quot;: 12.21,
&quot;image&quot;: &quot;http://...&quot;,
&quot;status&quot;: 0,
&quot;stars&quot;: 2 ,
&quot;description&quot;: &quot;.....&quot;,
&quot;category&quot;: &quot;河鲜&quot;,
&quot;sort&quot;: 1,
&quot;key_words&quot;: &quot;吴系挂&quot;,
&quot;sales_volume&quot;: 2 ,
&quot;inventory&quot;: &quot;1436864169&quot;,
&quot;create_time&quot;: &quot;2024..&quot;,
&quot;update_time&quot;: &quot;2024..&quot;,
&quot;is_specialty&quot;: 0,
&quot;specialty_product_id&quot;: 1
},
{
&quot;id&quot;: 1,
&quot;merchantId&quot;: 12154545,
&quot;traceablilityId&quot;: 1212121,
&quot;name&quot;: &quot;莆田螃蟹&quot; ,
&quot;shortName&quot;: &quot;螃蟹&quot;,
&quot;price&quot;: 12.21,
&quot;image&quot;: &quot;http://...&quot;,
&quot;status&quot;: 0,
&quot;stars&quot;: 2 ,
&quot;description&quot;: &quot;.....&quot;,
&quot;category&quot;: &quot;河鲜&quot;,
&quot;sort&quot;: 1,
&quot;key_words&quot;: &quot;吴系挂&quot;,
&quot;sales_volume&quot;: 2 ,
&quot;inventory&quot;: &quot;1436864169&quot;,
&quot;create_time&quot;: &quot;2024..&quot;,
&quot;update_time&quot;: &quot;2024..&quot;,
&quot;is_specialty&quot;: 0,
&quot;specialty_product_id&quot;: 1
}
]
}</code></pre>
<h5>返回参数说明</h5>
<p>返回参数中的数据部为商品索引的数组</p>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>