3.4售卡列表数据查询(权益卡)
<p>路径:/api/salesCard/getSalesCardList</p>
<p>方法: POST</p>
<p>header:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>长度限制</th>
<th>是否必填</th>
<th>介绍</th>
</tr>
</thead>
<tbody>
<tr>
<td>Authorization</td>
<td>String</td>
<td></td>
<td>是</td>
<td>Bearer 客户认证令牌</td>
</tr>
</tbody>
</table>
<p>返回:</p>
<table>
<thead>
<tr>
<th>字段名称</th>
<th>类型</th>
<th>长度限制</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>salesCardId</td>
<td>String</td>
<td></td>
<td>售卡链接id</td>
</tr>
<tr>
<td>salesCardTitle</td>
<td>String</td>
<td></td>
<td>售卡名称</td>
</tr>
<tr>
<td>salesCardNum</td>
<td>String</td>
<td></td>
<td>售卡包含商品数量</td>
</tr>
<tr>
<td>salesCardInfoDetails</td>
<td>Array</td>
<td></td>
<td>售卡商品明细(集合数据)</td>
</tr>
<tr>
<td>salesCardInfoDetails.salesDetailId</td>
<td>String</td>
<td></td>
<td>商品id</td>
</tr>
<tr>
<td>salesCardInfoDetails.salesName</td>
<td>String</td>
<td></td>
<td>商品标题</td>
</tr>
<tr>
<td>salesCardInfoDetails.interestsCardId</td>
<td>String</td>
<td></td>
<td>权益卡id</td>
</tr>
<tr>
<td>salesCardInfoDetails.interestsCardName</td>
<td>String</td>
<td></td>
<td>权益卡名称</td>
</tr>
<tr>
<td>salesCardInfoDetails.interestsCardType</td>
<td>String</td>
<td></td>
<td>有效期类型(0.天 1.月)</td>
</tr>
<tr>
<td>salesCardInfoDetails.validityTime</td>
<td>String</td>
<td></td>
<td>有效期</td>
<td></td>
</tr>
</tbody>
</table>
<h5>响应示例:</h5>
<pre><code class="language-json">{
&quot;code&quot;: &quot;0&quot;,
&quot;data&quot;: [
{
&quot;salesCardId&quot;: &quot;1503674394906103810&quot;,
&quot;salesCardInfoDetails&quot;: [
{
&quot;interestsCardId&quot;: &quot;1503674027019505665&quot;,
&quot;interestsCardName&quot;: &quot;权益卡权益匹配测试&quot;,
&quot;interestsCardType&quot;: &quot;0&quot;,
&quot;salesDetailId&quot;: &quot;1503674394948046850&quot;,
&quot;salesName&quot;: &quot;权益匹配卡&quot;,
&quot;validityTime&quot;: &quot;5&quot;
}
],
&quot;salesCardNum&quot;: &quot;1&quot;,
&quot;salesCardTitle&quot;: &quot;权益匹配售卡&quot;
}
],
&quot;message&quot;: &quot;请求成功&quot;,
&quot;service&quot;: &quot;&quot;,
&quot;success&quot;: true
}</code></pre>
<p>错误:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">codes</th>
<th style="text-align: left;">问题描述</th>
<th style="text-align: left;">解决</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">401</td>
<td style="text-align: left;">Bearer令牌不允许为空/token无效</td>
<td style="text-align: left;">请检查Authorization参数</td>
</tr>
<tr>
<td style="text-align: left;">10003</td>
<td style="text-align: left;">关联的客户 (供应商)被移除或已禁用</td>
<td style="text-align: left;">请联系烈熊方产品核对</td>
</tr>
<tr>
<td style="text-align: left;">10004</td>
<td style="text-align: left;">缺少参数</td>
<td style="text-align: left;">具体内容查阅返回的message字段</td>
</tr>
</tbody>
</table>