礼品卡激活接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>礼品卡激活接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://wbhtest.hrtn.net/digit/gateway/digit/activity/giftcard/gift-card-detail/BossActiveGiftCard</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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;">cardBatchNo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>批次号</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
<tr>
<td style="text-align: left;">salesNo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>销售编码</td>
</tr>
<tr>
<td style="text-align: left;">cardDesId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>卡详情编码</td>
</tr>
<tr>
<td style="text-align: left;">sendType</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>1:批量激活2:活动赠送3:商城销售4:boss销售5:网格销售</td>
</tr>
<tr>
<td style="text-align: left;">mod</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>渠道</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"success": true,
"retCode": "0",
"retMsg": "成功",
"retData": {
"id": 136,
"cardId": 65,
"cardNo": "2022091458786",
"cardPassword": "p9ldosAu1ObMxuox",
"prizeName": null,
"bindPhone": "13006382887",
"limitMoney": 100,
"remainMoney": 100,
"stime": "2022-09-14",
"etime": "2099-12-31",
"activeTime": "2022-09-14T10:30:52.054",
"activeType": "2",
"activeChannel": null,
"sendType": "3",
"status": "1",
"createBy": "13006382887",
"saleNo": "test001",
"failureNo": null,
"createTime": "2022-09-14T10:09:18",
"updateTime": "2022-09-14T10:30:52.054",
"goodsIds": [],
"sencetype": "0",
"useDescription": "",
"effectFlag": null
}
}</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;">id</td>
<td style="text-align: left;">int</td>
<td>礼品卡id</td>
</tr>
<tr>
<td style="text-align: left;">cardNo</td>
<td style="text-align: left;">String</td>
<td>卡号</td>
</tr>
<tr>
<td style="text-align: left;">cardPassword</td>
<td style="text-align: left;">String</td>
<td>卡密</td>
</tr>
<tr>
<td style="text-align: left;">bindPhone</td>
<td style="text-align: left;">String</td>
<td>绑定手机号</td>
</tr>
<tr>
<td style="text-align: left;">limitMoney</td>
<td style="text-align: left;">String</td>
<td>卡面值</td>
</tr>
<tr>
<td style="text-align: left;">remainMoney</td>
<td style="text-align: left;">String</td>
<td>剩余额度</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>