商品服务-商品详情页面“大家都在看”推荐
<h5>简要描述</h5>
<ul>
<li>商品服务-商品详情页面“大家都在看”推荐</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://101.34.87.143:8083/wx/goods/related?id=1181009</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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>商品id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errno": 0,
"data": {
"total": 3,
"pages": 1,
"limit": 6,
"page": 1,
"list": [{
"id": 1181009,
"name": "New Dream Ipone",
"brief": "专属于青少年的神机",
"picUrl": "https://app-newdream-1302590708.cos.ap-shanghai.myqcloud.com/3zwnvfsvil707b6lv0rt.jpg",
"isNew": true,
"isHot": true,
"counterPrice": 8888.00,
"retailPrice": 6666.00
}, {
"id": 1181007,
"name": "Redmi Note 10 手机",
"brief": "小米手机",
"picUrl": "https://app-newdream-1302590708.cos.ap-shanghai.myqcloud.com/9x07i76iuzu45xw21b75.jpeg",
"isNew": true,
"isHot": false,
"counterPrice": 1699.00,
"retailPrice": 1599.00
}, {
"id": 1181004,
"name": "新梦想培训套餐",
"brief": "程序员的天堂",
"picUrl": "https://app-newdream-1302590708.cos.ap-shanghai.myqcloud.com/3u1hdcfe97gkfxivxgaz.jpg",
"isNew": true,
"isHot": true,
"counterPrice": 2999998.00,
"retailPrice": 200.00
}]
},
"errmsg": "成功"
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>