seven 1 tydzień temu
rodzic
commit
6c14db84fc

+ 1 - 0
app/Http/Controllers/api/TelegramWebHook.php

@@ -373,6 +373,7 @@ class TelegramWebHook extends Controller
 
                 // 查看余额弹窗
                 if($data === 'balanceAlert'){
+                    Log::error('查看余额弹窗 balanceAlert: ' . $callbackId);
                     // $alertText = WalletService::getBalance($chatId)['text'];
                     WalletService::alertNotice($callbackId , '您好,您的余额为:');
                 }

+ 1 - 1
app/Services/BetService.php

@@ -250,7 +250,7 @@ class BetService extends BaseService
         $username = config('services.telegram.username');
         $inlineButton = [];
         $inlineButton[] = [
-            ['text' => "查看余额1", 'callback_data' => 'balanceAlert'],
+            ['text' => "查看余额", 'callback_data' => 'balanceAlert'],
             ['text' => "✅唯一财务", 'callback_data' => 'financeAlert']
         ];
         $inlineButton[] = [