BOSS可销售礼品卡列表查询接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>BOSS可销售礼品卡列表查询接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://wbhtest.hrtn.net/digit/gateway/digit/activity/giftcard/gift-card/getCardList?effective=1</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;">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": 65,
"cardBatchCode": "LP2022091456033",
"cardName": "lpk9.14",
"produceType": "1",
"cardType": "1",
"limitNum": 20,
"openNum": 0,
"remainNum": 20,
"usedNum": 0,
"limitMoney": 100,
"stime": "2022-09-14",
"etime": "2099-12-31",
"effectFlag": 1,
"bustype": "0",
"sencetype": "0",
"useDescription": "<p>1</p>",
"remarkDescription": "1",
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-09-14T08:54:55",
"updateTime": "2022-09-14T09:06:08",
"effective": "0"
},
{
"id": 61,
"cardBatchCode": "LP2022090290383",
"cardName": "test实体卡",
"produceType": "2",
"cardType": "1",
"limitNum": 10,
"openNum": 0,
"remainNum": 19,
"usedNum": 2,
"limitMoney": 100,
"stime": "2022-09-02",
"etime": "2099-12-31",
"effectFlag": 1,
"bustype": "0",
"sencetype": "0",
"useDescription": "<p>100</p>",
"remarkDescription": "1",
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-09-02T23:35:24",
"updateTime": "2022-09-02T23:36:53",
"effective": "0"
},
{
"id": 39,
"cardBatchCode": "LP2022090134685",
"cardName": "测试1848",
"produceType": "1",
"cardType": "1",
"limitNum": 100,
"openNum": 0,
"remainNum": 100,
"usedNum": 18,
"limitMoney": 200,
"stime": "2022-09-01",
"etime": "2022-10-31",
"effectFlag": 0,
"bustype": "0",
"sencetype": "0",
"useDescription": "1848",
"remarkDescription": null,
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-09-01T18:48:53",
"updateTime": "2022-09-01T18:49:37",
"effective": "0"
},
{
"id": 31,
"cardBatchCode": "LP2022090171797",
"cardName": "100块面值通用",
"produceType": "1",
"cardType": "1",
"limitNum": 10,
"openNum": 0,
"remainNum": 10,
"usedNum": 6,
"limitMoney": 100,
"stime": "2022-08-01",
"etime": "2022-09-02",
"effectFlag": 1,
"bustype": "2",
"sencetype": "0",
"useDescription": "wx",
"remarkDescription": null,
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-09-01T16:30:18",
"updateTime": "2022-09-01T17:05:42",
"effective": "0"
},
{
"id": 12,
"cardBatchCode": "LP2022083029103",
"cardName": "中秋专属_wx2",
"produceType": "1",
"cardType": "1",
"limitNum": 2,
"openNum": 0,
"remainNum": 2,
"usedNum": 0,
"limitMoney": 100,
"stime": "2022-08-29",
"etime": "2300-09-02",
"effectFlag": 1,
"bustype": "2",
"sencetype": "1",
"useDescription": "使用说明——虚拟卡,储值卡,2张,100元活动时间永久\n适用业务:商城\n适用场景:指定商品",
"remarkDescription": "使用说明——虚拟卡,储值卡,2张,100元活动时间永久\n适用业务:商城\n适用场景:指定商品",
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-08-30T10:23:07",
"updateTime": "2022-08-31T20:48:33",
"effective": "0"
},
{
"id": 11,
"cardBatchCode": "LP2022082921006",
"cardName": "中秋专属_wx1",
"produceType": "1",
"cardType": "1",
"limitNum": 1,
"openNum": 0,
"remainNum": 1,
"usedNum": 0,
"limitMoney": 100,
"stime": "2022-08-01",
"etime": "2300-09-02",
"effectFlag": 1,
"bustype": "2",
"sencetype": "1",
"useDescription": "使用说明——虚拟卡,储值卡,1张,100元活动时间永久\n适用业务:商城\n适用场景:指定商品",
"remarkDescription": "使用说明——虚拟卡,储值卡,1张,100元活动时间永久\n适用业务:商城\n适用场景:指定商品",
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-08-29T11:14:04",
"updateTime": "2022-08-29T11:14:04",
"effective": "0"
},
{
"id": 8,
"cardBatchCode": "LP2022082695608",
"cardName": "发卡",
"produceType": "1",
"cardType": "1",
"limitNum": 100,
"openNum": 0,
"remainNum": 108,
"usedNum": 22,
"limitMoney": 200,
"stime": "2022-08-26",
"etime": "2022-09-30",
"effectFlag": 0,
"bustype": "0",
"sencetype": "0",
"useDescription": "826",
"remarkDescription": "826",
"status": "1",
"issueChannel": null,
"useChannel": null,
"createBy": 1,
"createTime": "2022-08-26T11:51:49",
"updateTime": "2022-08-26T11:51:49",
"effective": "0"
}
],
"current": 1,
"size": 10,
"total": 7,
"pages": 1
}</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;">cardBatchCode</td>
<td style="text-align: left;">String</td>
<td>礼品卡编码</td>
</tr>
<tr>
<td style="text-align: left;">cardName</td>
<td style="text-align: left;">String</td>
<td>礼品卡名称</td>
</tr>
<tr>
<td style="text-align: left;">produceType</td>
<td style="text-align: left;">String</td>
<td>制卡方式(1:虚拟卡,2:实物卡)</td>
</tr>
<tr>
<td style="text-align: left;">cardType</td>
<td style="text-align: left;">String</td>
<td>卡类型(1:储值卡,2:提货卡)</td>
</tr>
<tr>
<td style="text-align: left;">limitNum</td>
<td style="text-align: left;">Long</td>
<td>创建数量</td>
</tr>
<tr>
<td style="text-align: left;">openNum</td>
<td style="text-align: left;">Long</td>
<td>开卡数量</td>
</tr>
<tr>
<td style="text-align: left;">remainNum</td>
<td style="text-align: left;">Long</td>
<td>剩余可用数量</td>
</tr>
<tr>
<td style="text-align: left;">limitMoney</td>
<td style="text-align: left;">decimal</td>
<td>卡面值</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>