Ken 3 місяців тому
батько
коміт
ea2b77d767
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      app/Services/QianBaoWithdrawService.php

+ 1 - 2
app/Services/QianBaoWithdrawService.php

@@ -34,6 +34,7 @@ class QianBaoWithdrawService
         if (preg_match($pattern, $data)) {
             $type = preg_replace('/^withdraw@@qb_choose_/', '', $data);
             $res = QianBaoWithdrawService::showBanks($chatId, $messageId, $type);
+            $telegram->editMessageText($res);
         }
 
 
@@ -167,8 +168,6 @@ class QianBaoWithdrawService
                 break;
         }
         $list = Bank::where('channel', $channel)->get();
-
-
         $keyboard = [];
         foreach ($list as $item) {
             $keyboard[] = [['text' => "{$item->alias}", 'callback_data' => "withdrawAddress@@bank_detail{$item->id}"]];