request->get(); $status = $get['status'] ?? 0; $where = []; $where['mainId'] = $this->mainId; if (!empty($status)) { $where['status'] = $status; } $list = ScanPayClass::getPayList($where); util::success($list); } }