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