Ken vor 2 Tagen
Ursprung
Commit
74338cd4ef
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      app/Services/QianBaoWithdrawService.php

+ 1 - 2
app/Services/QianBaoWithdrawService.php

@@ -76,7 +76,6 @@ class QianBaoWithdrawService
 
 
         //银行卡管理
-
         $pattern = "/^withdraw@@management_.*$/";
         if (preg_match($pattern, $data)) {
             $channel = preg_replace('/^withdraw@@management_/', '', $data);
@@ -451,7 +450,7 @@ class QianBaoWithdrawService
 
 
         $keyboard = [
-            [['text' => '❌删除', 'callback_data' => "withdraw@@bank_del_{$id}"], ['text' => '↩️返回列表', 'callback_data' => 'withdraw@@banks']],
+            [['text' => '❌删除', 'callback_data' => "withdraw@@bank_del_{$id}"], ['text' => '↩️返回列表', 'callback_data' => "withdraw@@management_{$bank->channel}"]],
         ];
         return [
             'chat_id' => $chatId,