获取商城商品列表
<h5>简要描述</h5>
<ul>
<li>获取商城商品列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8082/api/Product/GetWxProducts?pageIndex=1&pageSize=2</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;">pageIndex</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码,默认为1</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>条数,默认为10</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"success": true,
"msg": "",
"code": 200,
"data": {
"List": [
{
"GoodsId": 1026821,
"Name": "咩",
"Price": 0.00,
"Price2": 1111.00,
"ImgUrl": "http://localhost:32223//Storage/Shop/1/Products/1026821/1.png"
},
{
"GoodsId": 1026809,
"Name": "蟹中王 套餐礼品卡",
"Price": 0.00,
"Price2": 352.80,
"ImgUrl": "http://localhost:32223//Storage/Shop/1/Products/1026809/1.png"
}
],
"Total": 697
},
"total": 0
}</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>