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

+ 2 - 3
app/Http/Controllers/api/TelegramWebHook.php

@@ -87,9 +87,8 @@ class TelegramWebHook extends Controller
                 
                 // 查看余额弹窗
                 if($data === 'balanceAlert'){
-                    Log::error('查看余额弹窗 balanceAlert: ' . $callbackId);
-                    // $alertText = WalletService::getBalance($chatId)['text'];
-                    WalletService::alertNotice($callbackId , '您好,您的余额为:');
+                    $alertText = WalletService::getBalance($chatId)['text'];
+                    WalletService::alertNotice($callbackId , $alertText);
                 }
 
                 //近期注单,下一页