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