账单列表
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/bill</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET <code>AUTH</code></li>
</ul>
<p><strong>参数:</strong></p>
<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;">type</td>
<td style="text-align: left;">in:0,1</td>
<td style="text-align: left;">tinyint(1)</td>
<td>类型:0=支出,1=收入</td>
</tr>
<tr>
<td style="text-align: left;">bill_sort_uid</td>
<td style="text-align: left;">>:0,integer</td>
<td style="text-align: left;">int</td>
<td>账单分类唯一值</td>
</tr>
<tr>
<td style="text-align: left;">start_bill_datetime</td>
<td style="text-align: left;">date</td>
<td style="text-align: left;">datetime</td>
<td>记账日期(开始)</td>
</tr>
<tr>
<td style="text-align: left;">end_bill_datetime</td>
<td style="text-align: left;">date</td>
<td style="text-align: left;">datetime</td>
<td>记账日期(结束)</td>
</tr>
<tr>
<td style="text-align: left;">bill_payment_uid</td>
<td style="text-align: left;">>:0,integer</td>
<td style="text-align: left;">int</td>
<td>账单付款方式唯一值</td>
</tr>
<tr>
<td style="text-align: left;">employee_uid</td>
<td style="text-align: left;">>:0,integer</td>
<td style="text-align: left;">int</td>
<td>员工唯一值</td>
</tr>
</tbody>
</table>
<ul>
<li>start_bill_datetime与end_bill_datetime需要同时出现</li>
</ul>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 2,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;bill_uid&quot;: 2501073854600125,
&quot;type&quot;: 1,
&quot;bill_sort_uid&quot;: 2501035202700126,
&quot;bill_sort_title&quot;: &quot;电费&quot;,//分类名称
&quot;bill_datetime&quot;: &quot;2024-01-22 10:40:22&quot;,
&quot;bill_price&quot;: 10000,
&quot;bill_payment_uid&quot;: 2501035209100127,
&quot;bill_payment_title&quot;: &quot;支付宝&quot;,//支付名称
&quot;employee_uid&quot;: 2411275671100112,
&quot;employee_info&quot;: {//员工信息
&quot;id&quot;: 10,
&quot;phone&quot;: &quot;18329046271&quot;,
&quot;gender&quot;: 0,
&quot;passport&quot;: &quot;1111111&quot;,
&quot;password&quot;: &quot;111111&quot;,
&quot;id_number&quot;: &quot;330304199407111212&quot;,
&quot;job_photo&quot;: &quot;&quot;,
&quot;real_name&quot;: &quot;ddd&quot;,
&quot;ban_switch&quot;: 0,
&quot;job_number&quot;: &quot;IXXII&quot;,
&quot;account_uid&quot;: 1241015397020001,
&quot;rank_switch&quot;: 0,
&quot;sign_switch&quot;: 0,
&quot;employee_uid&quot;: 2411275671100112,
&quot;merchant_uid&quot;: 2241017519160001,
&quot;create_datetime&quot;: &quot;2024-10-29 15:07:13&quot;,
&quot;update_datetime&quot;: &quot;2024-11-28 10:51:42&quot;,
&quot;commission_notify_switch&quot;: 0
},
&quot;employee_real_name&quot;: &quot;ddd&quot;,//员工名称
&quot;vouchers&quot;: [],
&quot;memo&quot;: &quot;自动划扣&quot;,
&quot;create_datetime&quot;: &quot;2025-01-07 10:42:26&quot;,
&quot;update_datetime&quot;: &quot;2025-01-07 10:42:26&quot;
}
],
&quot;code&quot;: 0
}</code></pre>