Ken hace 2 días
padre
commit
86859dd915
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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);
         }