抽奖奖品列表
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /act/app/lottery/award/list
请求方式: GET
接口说明: 获取奖品列表</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明(query)</th>
</tr>
</thead>
<tbody>
<tr>
<td>activityId</td>
<td>是</td>
<td>20</td>
<td>int</td>
<td>活动id</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>object</td>
<td>数据</td>
</tr>
<tr>
<td>activityId</td>
<td>int</td>
<td>活动编号</td>
</tr>
<tr>
<td>activityName</td>
<td>string</td>
<td>活动名称</td>
</tr>
<tr>
<td>lotteryDesc</td>
<td>string</td>
<td>抽奖规则描述</td>
</tr>
<tr>
<td>prizeList</td>
<td>list</td>
<td>奖品列表(见奖品详情)</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明(奖品详情)</th>
</tr>
</thead>
<tbody>
<tr>
<td>prizeId</td>
<td>int</td>
<td>奖品编号</td>
</tr>
<tr>
<td>prizeName</td>
<td>string</td>
<td>奖品名称</td>
</tr>
<tr>
<td>prizeIcon</td>
<td>string</td>
<td>奖品图标</td>
</tr>
<tr>
<td>prizetype</td>
<td>string</td>
<td>奖品类型(1优惠券2积分)</td>
</tr>
<tr>
<td>valueType</td>
<td>int</td>
<td>抵扣类型(0金额,1折扣)</td>
</tr>
<tr>
<td>couponValue</td>
<td>decimal</td>
<td>如果是金额:抵扣价(单位:元);如果是折扣:折扣(例如6.5折)</td>
</tr>
<tr>
<td>validEnd</td>
<td>string</td>
<td>失效时间</td>
</tr>
<tr>
<td>amountLimit</td>
<td>decimal</td>
<td>优惠券使用金额限制(订单满XX金额才能使用)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": "0000",
"msg": "操作成功!",
"data": {
"activityId": 1,
"activityName": "1252436147280416768",
"lotteryDesc": "每人每次限一次",
"prizeList": [{
"prizeId": 1,
"prizeName": "iphone手机一个",
"prizeIcon": "http://pic.image.com/aaa",
"prizetype":1,
"valueType": 0,
"couponValue": 5.00,
"validEnd": "2021-03-21 10:10:10",
"amountLimit":1.00
}]
}
}</code></pre>