seven 1 周之前
父节点
当前提交
6c14db84fc
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      app/Http/Controllers/api/TelegramWebHook.php
  2. 1 1
      app/Services/BetService.php

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

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

+ 1 - 1
app/Services/BetService.php

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