Ken 2 săptămâni în urmă
părinte
comite
cb917fcc5f
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      app/Services/TopUpService.php

+ 2 - 2
app/Services/TopUpService.php

@@ -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;