根据推荐位编号获取商品列表接口
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /gmall/app/product/recommend/
请求方式: GET
接口说明: 根据推荐位编号获取商品列表接口</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>mallId</td>
<td>是</td>
<td>20</td>
<td>int</td>
<td>商圈id</td>
</tr>
<tr>
<td>code</td>
<td>是</td>
<td>20</td>
<td>string</td>
<td>推荐位编号</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
<tr>
<td>data</td>
<td>string</td>
<td>返回数据</td>
</tr>
<tr>
<td>id</td>
<td>int</td>
<td>商品id</td>
</tr>
<tr>
<td>productName</td>
<td>sring</td>
<td>商品名称</td>
</tr>
<tr>
<td>mainPic</td>
<td>sring</td>
<td>商品图</td>
</tr>
<tr>
<td>salesVolume</td>
<td>sring</td>
<td>销量</td>
</tr>
<tr>
<td>price</td>
<td>sring</td>
<td>现价</td>
</tr>
<tr>
<td>marketPrice</td>
<td>sring</td>
<td>原市场价</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success",
"data":[{
"id": 7,
"productName": "第一杯卡布奇诺!!!!",
"mainPic": "http://1.png",
"salesVolume": null,
"price": 0,
"marketPrice": 0
}]
}</code></pre>
<p><strong>接口说明</strong></p>
<ul>
<li>code:(HOME_RECOMMEND)APP首页推荐商品</li>
</ul>