Ken 2 dienas atpakaļ
vecāks
revīzija
86859dd915
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      app/Services/QianBaoWithdrawService.php

+ 2 - 2
app/Services/QianBaoWithdrawService.php

@@ -79,8 +79,8 @@ class QianBaoWithdrawService
 
         $pattern = "/^withdraw@@management_.*$/";
         if (preg_match($pattern, $data)) {
-            $type = preg_replace('/^withdraw@@management_/', '', $data);
-            $res = QianBaoWithdrawService::banks($chatId, $messageId, $type);
+            $channel = preg_replace('/^withdraw@@management_/', '', $data);
+            $res = QianBaoWithdrawService::banks($chatId, $messageId, $channel);
             $telegram->editMessageText($res);
         }