获取PK商品信息接口--lh
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取PK商品信息接口--lh</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/html5/activitypk/v1/getGoodsList</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户标识</td>
</tr>
<tr>
<td style="text-align: left;">userType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户类型</td>
</tr>
<tr>
<td style="text-align: left;">activityId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>助农活动id为1</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":200,
"message":"SUCCESS",
"time":1581685022,
"data":[
{
"id":自增ID,
"itemid":"商品ID",
"itemtitle":"商品标题",
"itemshorttitle":"商品短标题",
"itemdesc":"商品描述",
"itemprice":"原价",
"itemendprice":"券后价",
"itempic":"主图",
"itemsale":月销量,
"todaysale":今日销量,
"tkrates":"佣金比例",
"tkmoney":"佣金",
"couponurl":"优惠卷链接",
"couponmoney":优惠券,
"couponstarttime":优惠券开始时间,
"couponendtime":优惠卷结束时间,
"couponnum":优惠券总数,
"couponreceive":优惠卷领取数,
"activityid":"优惠券id",
"shoptype":"店铺类型",
"taobao_image":"轮播图",
"classtype":3 平台类型,
"status":1 状态
}
]
}</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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>