|
@@ -216,8 +216,9 @@ class WithdrawalListController extends Curd
|
|
|
// 获取银行卡信息
|
|
|
if (!empty($info->member_account_list_json)) {
|
|
|
$accountListJson = json_decode($info->member_account_list_json, true);
|
|
|
- $info->out_rate = !empty($accountListJson['out_rate']) ? $accountListJson['out_rate'] / 10 : 0;
|
|
|
- $info->to_account = sprintf('%.2f', $info->member_account_list_amount - (round($info->member_account_list_amount * $info->out_rate / 100, 2)));
|
|
|
+ $info->out_rate = !empty($accountListJson['out_rate']) ? 0.6 : 0;
|
|
|
+ $info->out_rate_amount = $accountListJson['out_rate'] ?? 0;
|
|
|
+ $info->to_account = sprintf('%.2f', $info->member_account_list_amount - $info->out_rate_amount);
|
|
|
$info->banks = [
|
|
|
[
|
|
|
'bank_name' => $accountListJson['bank_name'] ?? '',
|