|
@@ -102,7 +102,7 @@ class Withdraw extends Controller
|
|
|
$item['service_charge'] = floatval($item['service_charge']);
|
|
$item['service_charge'] = floatval($item['service_charge']);
|
|
|
$item['amount'] = floatval($item['amount']);
|
|
$item['amount'] = floatval($item['amount']);
|
|
|
$item['to_account'] = floatval($item['to_account']);
|
|
$item['to_account'] = floatval($item['to_account']);
|
|
|
- $item['exchange_rate'] = $item['exchange_rate']==7.3?1:$item['exchange_rate'];
|
|
|
|
|
|
|
+ $item['exchange_rate'] = $item['exchange_rate'] == 0 ? 7.3 : $item['exchange_rate'];
|
|
|
$item['to_account_usdt'] = floatval(bcdiv($item['to_account'], $item['exchange_rate'], 4));
|
|
$item['to_account_usdt'] = floatval(bcdiv($item['to_account'], $item['exchange_rate'], 4));
|
|
|
}
|
|
}
|
|
|
|
|
|