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

+ 4 - 4
app/Http/Controllers/api/TelegramWebHook.php

@@ -176,7 +176,7 @@ class TelegramWebHook extends Controller
                         break;
                     case "今日流水":
                         Util::delCache($chatId);
-                        $resultMsg = BalanceLogService::getTodayFlowing($chatId);
+                        $returnMsg = BalanceLogService::getTodayFlowing($chatId);
                         // $this->telegram->sendMessage($result);
                         break;
                     case "联系客服":
@@ -195,7 +195,7 @@ class TelegramWebHook extends Controller
                         $text .= "‼️本群不接待以任何形式刷水的水军,一经发现玩家存在刷水行为将扣除历史所有返水、彩金。并冻结分数一个月,每天仅可下分账户余额10%。不纠结,不解释,请各大水军自行绕道。\n";
                         $keyboard = [];
                         $keyboard[] = [['text' => '✅ 唯一客服', 'callback_data' => "", 'url' => "https://t.me/{$serviceAccount}"]];
-                        $resultMsg = [
+                        $returnMsg = [
                             'chat_id' => $chatId,
                             'text' => $text,
                             'reply_markup' => json_encode(['inline_keyboard' => $keyboard])
@@ -217,7 +217,7 @@ class TelegramWebHook extends Controller
                         break;
                     case "查看余额":
                         Util::delCache($chatId);
-                        $resultMsg = WalletService::getBalance($chatId);
+                        $returnMsg = WalletService::getBalance($chatId);
 
                         // $this->telegram->sendMessage($result);
                         break;
@@ -229,7 +229,7 @@ class TelegramWebHook extends Controller
                         $text = "👇👇👇点击下方按钮进群投注👇👇👇\n";
                         $keyboard = [];
                         $keyboard[] = [['text' => '✅ 投注群', 'callback_data' => "", 'url' => "https://t.me/{$bettingGroup}"]];
-                        $resultMsg = [
+                        $returnMsg = [
                             'chat_id' => $chatId,
                             'text' => $text,
                             'reply_markup' => json_encode(['inline_keyboard' => $keyboard])