1.17.2 提现记录列
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>用户提现列表【详细】接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/Withdraw/getDetails</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST 或 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;">token</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户token</td>
</tr>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">是[单条查询时]</td>
<td style="text-align: left;">int</td>
<td>要查询询的单条记录ID</td>
</tr>
<tr>
<td style="text-align: left;">time</td>
<td style="text-align: left;">否[列表查询时]</td>
<td style="text-align: left;">string</td>
<td>最大请传30天范围, 时间区间 <br>例:2022-2-12~2022-3-10 ,默认最近30天</td>
</tr>
<tr>
<td style="text-align: left;">mtype</td>
<td style="text-align: left;">否[[列表查询时]</td>
<td style="text-align: left;">string</td>
<td>存款到账户类型,支持多个用,隔开</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>当前页码 默认1</td>
</tr>
<tr>
<td style="text-align: left;">pagesize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页数据量 默认20</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 0,
"msg": "成功",
"data": {
"count": 0,
"data": []
}
}
{
"code": 0,
"msg": "成功",
"data": {
"count": 4,
"data": [
{
"id": 27,
"uuid": "293f4345-3223-3607-82c8-8c5b72c9",
"username": "user999",
"order_id": "W16486444259862466589227",
"money_withdraw": "5.900000000",
"money_cash": "87.700000000",
"mtype": 13,
"withdraw_protocol": "MYR",
"outorder_money": "5.900000000",
"withdraw_per": "0.00",
"money_suscc": "0.000000000",
"withdraw_desc": "用户申请提现",
"withdraw_reason": null,
"trade_type": 58,
"status": -1,
"apply_time": "2022-03-30 20:47:06",
"complete_time": null,
"withdraw_ip": "2.49.34.209",
"withdraw_bank_realname": "王小二",
"withdraw_bank_info": "[马来西亚银行][]",
"withdraw_address": "5678977777",
"withdraw_bankcode": "MYBCB",
"coin_name": "MYR",
"coin_number": "5.900000000",
"coin_exchange_rate": null,
"out_withdraw_id": null,
"is_daipay": 0,
"daipay_gateway_id": null,
"daipay_apicode": null,
"daipay_status": 0,
"submit_info": null,
"extjson": null,
"updatatime": null
},
{
"id": 26,
"uuid": "293f4345-3223-3607-82c8-8c5b72c9",
"username": "user999",
"order_id": "W16486442620247825969385",
"money_withdraw": "5.200000000",
"money_cash": "93.600000000",
"mtype": 13,
"withdraw_protocol": "MYR",
"outorder_money": "5.200000000",
"withdraw_per": "0.00",
"money_suscc": "0.000000000",
"withdraw_desc": "用户申请提现",
"withdraw_reason": null,
"trade_type": 58,
"status": -1,
"apply_time": "2022-03-30 20:44:22",
"complete_time": null,
"withdraw_ip": "2.49.34.209",
"withdraw_bank_realname": "王小二",
"withdraw_bank_info": "[马来西亚银行][]",
"withdraw_address": "5678977777",
"withdraw_bankcode": "MYBCB",
"coin_name": "MYR",
"coin_number": "5.200000000",
"coin_exchange_rate": null,
"out_withdraw_id": null,
"is_daipay": 0,
"daipay_gateway_id": null,
"daipay_apicode": null,
"daipay_status": 0,
"submit_info": null,
"extjson": null,
"updatatime": null
},
{
"id": 25,
"uuid": "293f4345-3223-3607-82c8-8c5b72c9",
"username": "user999",
"order_id": "W16486437800771738699582",
"money_withdraw": "1.200000000",
"money_cash": "98.800000000",
"mtype": 13,
"withdraw_protocol": "MYR",
"outorder_money": "1.200000000",
"withdraw_per": "0.00",
"money_suscc": "0.000000000",
"withdraw_desc": "用户申请提现",
"withdraw_reason": null,
"trade_type": 58,
"status": -1,
"apply_time": "2022-03-30 20:36:20",
"complete_time": null,
"withdraw_ip": "2.49.34.209",
"withdraw_bank_realname": "王小二",
"withdraw_bank_info": "[马来西亚银行][]",
"withdraw_address": "5678977777",
"withdraw_bankcode": "MYBCB",
"coin_name": "MYR",
"coin_number": "1.200000000",
"coin_exchange_rate": null,
"out_withdraw_id": null,
"is_daipay": 0,
"daipay_gateway_id": null,
"daipay_apicode": null,
"daipay_status": 0,
"submit_info": null,
"extjson": null,
"updatatime": null
},
{
"id": 24,
"uuid": "293f4345-3223-3607-82c8-8c5b72c9",
"username": "user999",
"order_id": "W16486437061215125723179",
"money_withdraw": "0.200000000",
"money_cash": "0.411000000",
"mtype": 2,
"withdraw_protocol": "USDT_TRC20",
"outorder_money": "0.200000000",
"withdraw_per": "0.00",
"money_suscc": "0.000000000",
"withdraw_desc": "用户申请提现",
"withdraw_reason": null,
"trade_type": 58,
"status": -1,
"apply_time": "2022-03-30 20:35:06",
"complete_time": null,
"withdraw_ip": "2.49.34.209",
"withdraw_bank_realname": "USDT",
"withdraw_bank_info": "[USDT][]",
"withdraw_address": "tyanenqj469jy5tsavkia2x9zcqqppk883",
"withdraw_bankcode": "USDT_TRC20",
"coin_name": "USDT",
"coin_number": "0.200000000",
"coin_exchange_rate": null,
"out_withdraw_id": null,
"is_daipay": 0,
"daipay_gateway_id": null,
"daipay_apicode": null,
"daipay_status": 0,
"submit_info": null,
"extjson": null,
"updatatime": null
}
]
}
}</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;">data.count</td>
<td style="text-align: left;">int</td>
<td>返回条数</td>
</tr>
<tr>
<td style="text-align: left;">data.data</td>
<td style="text-align: left;">json</td>
<td>具体数据</td>
</tr>
</tbody>
</table>
<p><code>order_id</code> varchar(64) NOT NULL COMMENT '交易流水订单号',
<code>money_withdraw</code> decimal(38,6) NOT NULL COMMENT '提现订单金额',
<code>money_cash</code> decimal(38,6) DEFAULT NULL COMMENT '提款后可用余额',
<code>mtype</code> tinyint(5) NOT NULL DEFAULT '1' COMMENT '提现出账户类型,1 系统账户 2、USDT账户 3.以太坊账户 4.比特币账户 ...',
<code>withdraw_protocol</code> varchar(255) DEFAULT NULL COMMENT '提现货币标识协议 BANK ALIPAY WXPAY USDT USDT_TRC20 USDT_ERC20 ETH BTC .',
<code>outorder_money</code> decimal(38,6) DEFAULT NULL COMMENT '实际出款到用户金额(扣除手续费后需要操作的金额 如发给代付的金额回调比对用,备用)',
<code>withdraw_per</code> decimal(8,2) DEFAULT '0.00' COMMENT '需扣除手续费比例',
<code>money_suscc</code> decimal(38,6) DEFAULT '0.000000' COMMENT '成功提现金额',
<code>withdraw_desc</code> varchar(255) DEFAULT NULL COMMENT '交易描述备注',
<code>withdraw_reason</code> varchar(255) DEFAULT NULL COMMENT '审核操作理由',
<code>trade_type</code> tinyint(5) DEFAULT '58' COMMENT '交易类型, 参考money_type表 58提现冻结审核 31提现成功完成 57提现失败退回',
<code>status</code> tinyint(2) NOT NULL DEFAULT '-1' COMMENT '状态 -1审核中 0 提现付款中 1.成功,2失败',
<code>apply_time</code> datetime DEFAULT NULL COMMENT '记录创建时间',
<code>complete_time</code> datetime DEFAULT NULL COMMENT '提现完成时间',
<code>withdraw_ip</code> varchar(255) DEFAULT NULL COMMENT '提现提交IP',
<code>withdraw_bank_realname</code> varchar(255) DEFAULT NULL COMMENT '银行卡姓名/支付宝 /微信姓名 (USDT...)',
<code>withdraw_bank_info</code> varchar(255) DEFAULT NULL COMMENT '提款其他信息补充、 银行名称account_bankname 二维码地址code_imgurl等',
<code>withdraw_address</code> varchar(255) DEFAULT NULL COMMENT '提现卡号 /支付宝-账号 微信账号 / 货币地址',
<code>withdraw_bankcode</code> varchar(255) DEFAULT NULL COMMENT '银行编码/ALIPAY / WXPAY USDT_TRC20 USDT_ERC20 ETH BTC',
<code>coin_name</code> varchar(255) DEFAULT NULL COMMENT '要提款成货币 名称标识 SYS 、USDT 、ETH 、 BTC .. ,如从系统账户提现USDT数字货币时候',
<code>coin_number</code> decimal(38,6) DEFAULT NULL COMMENT '提款对应货币数量,需要与 SYS系统货币转换时候备用',
<code>coin_exchange_rate</code> decimal(38,6) DEFAULT NULL COMMENT '提款对应货币 汇率,需要与 SYS系统货币转换时候备用',
<code>out_withdraw_id</code> varchar(255) DEFAULT NULL COMMENT '关联的订单号,如三方代付订单号',
<code>is_daipay</code> int(2) DEFAULT '0' COMMENT '是否代付 0 否 1 是',
<code>daipay_gateway_id</code> int(8) DEFAULT NULL COMMENT '三方代付 交易网关ID',
<code>daipay_status</code> int(2) DEFAULT '0' COMMENT '代付状态(0:待代付 1:代付中 2:代付完成 3:代付失败)',
<code>extjson</code> text COMMENT '备用JSON扩展',</p>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>