efps-version
elf 1 year ago
parent 1e504d4491
commit 20ac65bbd0

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

Loading…
Cancel
Save