Ken 2 dias atrás
pai
commit
86859dd915
1 arquivos alterados com 2 adições e 2 exclusões
  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);
         }