查询发票
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询发票接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:8080/system/scInvoice/wxList</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;">userId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"total": 5,
"rows": [
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-04 12:28:38",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 1,
"userId": 1,
"invoiceType": 1,
"invoiceTitle": "11",
"invoiceNumber": "123",
"invoiceStatus": 0
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-08 09:13:39",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 2,
"userId": 1,
"invoiceType": 1,
"invoiceTitle": "11",
"invoiceNumber": "123123",
"invoiceStatus": 1
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-08 09:17:51",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 3,
"userId": 1,
"invoiceType": 1,
"invoiceTitle": "11",
"invoiceNumber": "123123",
"invoiceStatus": 1
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-08 09:18:03",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 4,
"userId": 1,
"invoiceType": 1,
"invoiceTitle": "11",
"invoiceNumber": "123123",
"invoiceStatus": 1
},
{
"searchValue": null,
"createBy": null,
"createTime": "2022-10-08 09:18:17",
"updateBy": null,
"updateTime": null,
"remark": null,
"params": {},
"id": 5,
"userId": 1,
"invoiceType": 1,
"invoiceTitle": "11",
"invoiceNumber": "123",
"invoiceStatus": 1
}
],
"code": 200,
"msg": "查询成功"
}</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;">invoiceType</td>
<td style="text-align: left;">是</td>
<td>long</td>
<td>0、公司1、个人</td>
</tr>
<tr>
<td style="text-align: left;">invoiceTitle</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>发票抬头</td>
</tr>
<tr>
<td style="text-align: left;">invoiceNumber</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>发票税号</td>
</tr>
<tr>
<td style="text-align: left;">invoiceStatus</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>0、默认1、不默认</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>