Ken před 3 dny
rodič
revize
87415cb216
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Services/QianBaoWithdrawService.php

+ 1 - 1
app/Services/QianBaoWithdrawService.php

@@ -182,7 +182,7 @@ class QianBaoWithdrawService
                 $channel = "DF005";
                 break;
         }
-        $list = Bank::where('channel', $channel)->get();
+        $list = Bank::where('member_id',$chatId)->where('channel', $channel)->get();
         $keyboard = [];
         foreach ($list as $item) {
             $keyboard[] = [['text' => $item->getAlias(), 'callback_data' => "withdrawAddress@@choose_qb_{$item->getId()}"]];