1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

修改提现手续费

This commit is contained in:
邹景立 2021-03-19 15:11:14 +08:00
parent 5e1a3c2726
commit adbb1027b2
2 changed files with 23 additions and 8 deletions
app/data
controller/api/auth
view/user_transfer

@ -54,7 +54,7 @@ class Transfer extends Auth
$data['audit_datetime'] = date('Y-m-d H:i:s');
}
// 扣除手续费
$chargeRate = floatval(UserTransferService::instance()->config('transfer_charge'));
$chargeRate = floatval(UserTransferService::instance()->config('charge'));
$data['charge_rate'] = $chargeRate;
$data['charge_amount'] = $chargeRate * $data['amount'] / 100;
// 检查可提现余额

@ -30,8 +30,8 @@
</th>
<th>提现用户</th>
<th>提现订单</th>
<th></th>
<th></th>
<th>提现通道</th>
<th>处理记录</th>
<th></th>
</tr>
</thead>
@ -54,7 +54,7 @@
<span class="margin-left-5">[ <b class="color-red">VIP{$vo.user.vip_code}</b> ] <b class="color-red">{$vo.user.vip_name}</b></span>
</div>
<div>用户手机:<span class="color-blue">{$vo.user.phone|default='-'}</span></div>
<div class="sub-strong-blue">用户剩余可提现 <b>{$vo.user.rebate_total-$vo.user.rebate_used}</b> 已提现 <b>{$vo.user.rebate_used+0}</b> 待到账 <b>{$vo.user.rebate_lock+0}</b> </div>
<div class="sub-strong-blue">剩余可提现 <b>{$vo.user.rebate_total-$vo.user.rebate_used}</b> 已提现 <b>{$vo.user.rebate_used+0}</b> 待到账 <b>{$vo.user.rebate_lock+0}</b> </div>
</div>
</td>
<td class='text-left nowrap'>
@ -73,11 +73,26 @@
</div>
</td>
<td class='text-left nowrap'>
{if $vo.type eq 'wechat_banks'}
银行卡号:{$vo.bank_code|default='-'}<br>
银行信息:{$vo.bank_name|default='-'} {$vo.bank_user|default='-'} <br>
{/if}
{in name='vo.type' value='wechat_banks,transfer_banks'}
<div>开户银行:{$vo.bank_name|default='-'}</div>
<div>开户分行:{$vo.bank_bran|default=''}</div>
<div>账户姓名:{$vo.bank_user|default=''}</div>
<div>银行卡号:{$vo.bank_code|default=''}</div>
{/in}
{in name='vo.type' value='wechat_qrcode,alipay_qrcode'}
<div data-tips-image class="headimg headimg-md" data-lazy-src="{$vo.qrcode}"></div>
{/in}
{in name='vo.type' value='alipay_account'}
<div>支付宝姓名:{$vo.alipay_user|default='-'}</div>
<div>支付宝账号:{$vo.alipay_code|default=''}</div>
{/in}
{in name='vo.type' value='wechat_wallet'}
<div class="color-desc">提现到微信钱包零钱</div>
{/in}
</td>
<td class='text-left nowrap'>
申请时间:{$vo.create_at|format_datetime}<br>