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 = [];