客户 - 流水信息
<h5>简要描述</h5>
<ul>
<li>获取客户流水信息。</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>liyuan_base/merchant/info/bill</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</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;">id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">long</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>交易类型 1-充值 2-代付 3扣款</td>
</tr>
<tr>
<td style="text-align: left;">startTime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Date</td>
<td>发生日期</td>
</tr>
<tr>
<td style="text-align: left;">endTime</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Date</td>
<td>结束日期</td>
</tr>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>分页大小</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"list": [
{
"balance": 100.00,
"createTime": 1640337443123,
"id": 634287115823218688,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 200.00,
"operator": "1231241",
"remark": "扣款100",
"tradeMoney": 100.00,
"type": 3
},
{
"balance": 200.00,
"createTime": 1640337442614,
"id": 634287113688317952,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 300.00,
"operator": "1231241",
"remark": "扣款100",
"tradeMoney": 100.00,
"type": 3
},
{
"balance": 300.00,
"createTime": 1640337442190,
"id": 634287111909933056,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 400.00,
"operator": "1231241",
"remark": "扣款100",
"tradeMoney": 100.00,
"type": 3
},
{
"balance": 400.00,
"createTime": 1640337440949,
"id": 634287106704801792,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 500.00,
"operator": "1231241",
"remark": "扣款100",
"tradeMoney": 100.00,
"type": 3
},
{
"balance": 500.00,
"createTime": 1640337404603,
"id": 634286954258628608,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 400.00,
"operator": "1231241",
"remark": "充值100",
"tradeMoney": 100.00,
"type": 1
},
{
"balance": 400.00,
"createTime": 1640337404221,
"id": 634286952656404480,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 300.00,
"operator": "1231241",
"remark": "充值100",
"tradeMoney": 100.00,
"type": 1
},
{
"balance": 300.00,
"createTime": 1640337403799,
"id": 634286950886408192,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 200.00,
"operator": "1231241",
"remark": "充值100",
"tradeMoney": 100.00,
"type": 1
},
{
"balance": 200.00,
"createTime": 1640337398294,
"id": 634286927796764672,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 100.00,
"operator": "1231241",
"remark": "充值100",
"tradeMoney": 100.00,
"type": 1
},
{
"balance": 100.00,
"createTime": 1640337389312,
"id": 634286890119331840,
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"money": 0.00,
"operator": "1231241",
"remark": "充值100",
"tradeMoney": 100.00,
"type": 1
}
],
"pageTurn": {
"currentPage": 1,
"end": 9,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 9,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</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;">long</td>
<td>主键id</td>
</tr>
<tr>
<td style="text-align: left;">balance</td>
<td style="text-align: left;">numeric</td>
<td>余额 单位:元</td>
</tr>
<tr>
<td style="text-align: left;">operator</td>
<td style="text-align: left;">string</td>
<td>操作人</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">Date</td>
<td>发生时间</td>
</tr>
<tr>
<td style="text-align: left;">merchantId</td>
<td style="text-align: left;">long</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">money</td>
<td style="text-align: left;">numeric</td>
<td>当前余额</td>
</tr>
<tr>
<td style="text-align: left;">payId</td>
<td style="text-align: left;">long</td>
<td>交易id</td>
</tr>
<tr>
<td style="text-align: left;">tradeMoney</td>
<td style="text-align: left;">numeric</td>
<td>余额变动</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>流水类型 1-充值 2-消费 3扣款</td>
</tr>
<tr>
<td style="text-align: left;">remark</td>
<td style="text-align: left;">String</td>
<td>备注信息</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>