查询用户发票抬头列表
<h5>简要描述</h5>
<ul>
<li>查询用户发票抬头列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{domian}}/shop/userInvoiceHeader/page</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</li>
</ul>
<h5>http请求header</h5>
<ul>
<li>Content-Type:application/json</li>
<li>charset:utf-8 `</li>
<li><strong>Authorization : Bearer {{access_token}}</strong></li>
</ul>
<h5>请求参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>说明</th>
<th>必选</th>
<th>类型</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>headerType</td>
<td>抬头类型 person:个人, enterprise:企业</td>
<td>否</td>
<td>String</td>
<td>enterprise</td>
</tr>
<tr>
<td>headerName</td>
<td>抬头</td>
<td>否</td>
<td>String</td>
<td>南京盘盈信息科技有限公司</td>
</tr>
<tr>
<td>taxNo</td>
<td>税号,企业必填</td>
<td>否</td>
<td>String</td>
<td>91310104084123648T</td>
</tr>
<tr>
<td>defaultInvoice</td>
<td>是否默认发票抬头(0:否 1:是)</td>
<td>否</td>
<td>Integer</td>
<td>1</td>
</tr>
<tr>
<td>...</td>
<td></td>
<td></td>
<td></td>
<td>参考实体类</td>
</tr>
<tr>
<td>size</td>
<td>一页记录数</td>
<td>否</td>
<td>Integer</td>
<td>20</td>
</tr>
<tr>
<td>current</td>
<td>第几页</td>
<td>否</td>
<td>Integer</td>
<td>2</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code> {</code></pre>
<p> "headerType": "enterprise",
"headerName": "南京盘盈信息科技有限公司",
"taxNo": "91310104084123648T",
"defaultInvoice": 1
}</p>
<h5>返回示例</h5>
<pre><code> 成功:
{</code></pre>
<p> "code": 0,
"msg": null,
"data": {
"records": [
{
"id": 1,
"projectId": 2,
"userId": 4,
"headerType": "enterprise",
"headerName": "南京盘盈信息科技有限公司11",
"invoiceNo": null,
"bankName": null,
"bankNo": null,
"address": null,
"phone": null,
"createTime": "2023-08-30 16:21:03",
"updateTime": "2023-08-30 16:51:27",
"defaultInvoice": 1
},
{
"id": 2,
"projectId": 2,
"userId": 4,
"headerType": "enterprise",
"headerName": "南京盘盈信息科技有限公司",
"invoiceNo": null,
"bankName": null,
"bankNo": null,
"address": null,
"phone": null,
"createTime": "2023-08-30 16:40:11",
"updateTime": "2023-08-30 16:40:11",
"defaultInvoice": 0
}
],
"total": 2,
"size": 10,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 1
}
}</p>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>int</td>
<td>返回状态码</td>
<td>0:成功 401:鉴权失败</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>状态描述</td>
<td></td>
</tr>
<tr>
<td>data</td>
<td>String</td>
<td>返回数据</td>
<td>参考实体类</td>
</tr>
</tbody>
</table>
<h5>备注</h5>