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