Ken преди 2 дни
родител
ревизия
86859dd915
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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);
         }