流水
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/balance/payLogs</code></li>
</ul>
<h5>Headers</h5>
<ul>
<li>token</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;">type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>1后台充值</td>
</tr>
<tr>
<td style="text-align: left;">searchWord</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>用户ID或昵称搜索</td>
</tr>
<tr>
<td style="text-align: left;">timeStart</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>记录时间搜索,秒级时间戳,开始时间</td>
</tr>
<tr>
<td style="text-align: left;">timeEnd</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>记录时间搜索,秒级时间戳,结束时间</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"error_code": 0,
"msg": "success",
"data": [
{
"id": 1, //记录ID
"type": 1, //1后台充值
"user_id": 5,
"money": "5.00", //操作金额
"operator_id": 386,
"describe": "零钱充值", //描述
"created_at": "2021-11-22 11:37:33",
"updated_at": "2021-11-22 11:37:33",
"user": null,
"operator": {
"id": 386,
"username": "cyd",
"phone": "13800000001"
}
},
{
"id": 2,
"type": 1,
"user_id": 5,
"money": "10.00",
"operator_id": 386,
"describe": "零钱充值",
"created_at": "2021-11-22 11:37:45",
"updated_at": "2021-11-22 11:37:45",
"user": null,
"operator": {
"id": 386,
"username": "cyd", //操作者昵称
"phone": "13800000001"
}
},
{
"id": 3,
"type": 1,
"user_id": 1,
"money": "10.00",
"operator_id": 386,
"describe": "零钱充值",
"created_at": "2021-11-23 14:18:08",
"updated_at": "2021-11-23 14:18:08",
"user": {
"id": 1,
"nickname": "cyd", //用户昵称
"phone": "13800000000"
},
"operator": {
"id": 386,
"username": "cyd", //操作者昵称
"phone": "13800000001"
}
}
],
"total": 3
}</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;">error_code</td>
<td style="text-align: left;">int</td>
<td>0成功</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>ok</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>