|
@@ -482,12 +482,13 @@ class WithdrawService
|
|
|
$wallet = Wallet::where('member_id', $chatId)->first();
|
|
$wallet = Wallet::where('member_id', $chatId)->first();
|
|
|
// 汇率
|
|
// 汇率
|
|
|
$rate = Config::where('field', 'exchange_rate_rmb')->first()->val ?? 1;
|
|
$rate = Config::where('field', 'exchange_rate_rmb')->first()->val ?? 1;
|
|
|
|
|
+
|
|
|
$temp = floatval($wallet->available_balance);
|
|
$temp = floatval($wallet->available_balance);
|
|
|
$amount = bcdiv($temp, $rate, 2);
|
|
$amount = bcdiv($temp, $rate, 2);
|
|
|
$text = lang("请发送提现金额");
|
|
$text = lang("请发送提现金额");
|
|
|
- $text .= "\n💰 ".lang('当前余额')."{$temp} RMB\n";
|
|
|
|
|
|
|
+ $text .= "\n💰 ".lang('当前余额').":{$temp} RMB\n";
|
|
|
$text .= "⚠️".lang('汇率').":1 USDT = {$rate} RMB\n";
|
|
$text .= "⚠️".lang('汇率').":1 USDT = {$rate} RMB\n";
|
|
|
- $text .= "💰 ".lang('当前可用USDT余额').":{$amount}\n";
|
|
|
|
|
|
|
+ $text .= "💰 ".lang('当前可用USDT余额').":{$amount} USDT\n";
|
|
|
$text .= "⚠️ ".lang('提现将收取')."{$this->serviceCharge}".lang('U作为手续费')."\n";
|
|
$text .= "⚠️ ".lang('提现将收取')."{$this->serviceCharge}".lang('U作为手续费')."\n";
|
|
|
// $keyboard = [[
|
|
// $keyboard = [[
|
|
|
// ['text' => "🔙返回", 'callback_data' => "withdraw@@home"],
|
|
// ['text' => "🔙返回", 'callback_data' => "withdraw@@home"],
|