From 20ac65bbd0f75bd136345878a0327aba24ff9f9d Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sat, 17 Jun 2023 19:54:08 +0800 Subject: [PATCH] yh --- app/Controller/Recharge/RechargeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/Recharge/RechargeController.php b/app/Controller/Recharge/RechargeController.php index 366ebfe..63dc0e1 100644 --- a/app/Controller/Recharge/RechargeController.php +++ b/app/Controller/Recharge/RechargeController.php @@ -256,7 +256,7 @@ class RechargeController extends AbstractController $orders = $query->orderBy('id', 'desc')->offset($offset)->limit($pageSize)->get(); $protocols = $orders->pluck('protocol'); - $bankCards = BankCard::whereIn('protocol', $protocols)->get(); + $bankCards = BankCard::where('app_id', $appId)->whereIn('protocol', $protocols)->get(); $bankCards = $bankCards->keyBy('protocol'); $records = [];