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);
         }