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()}"]];