Ken 3 일 전
부모
커밋
87415cb216
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()}"]];