|
|
@@ -274,11 +274,11 @@ class TopUpService
|
|
|
|
|
|
}
|
|
|
|
|
|
- public function index($chatId, $firstName, $messageId = null)
|
|
|
+ public function index($chatId, $firstName, $messageId = null): array
|
|
|
{
|
|
|
$wallet = Wallet::where('member_id', $chatId)->first();
|
|
|
$text = "👤 {$firstName}($chatId)\n";
|
|
|
- $text .=lang("💰钱包余额"). "\n";
|
|
|
+ $text .= lang("💰钱包余额") . "\n";
|
|
|
$temp = floatval($wallet->available_balance);
|
|
|
$text .= "USDT:{$temp}\n";
|
|
|
$serviceAccount = Config::where('field', 'service_account')->first()->val;
|