request->get(); $status = $get['status'] ?? 0; $ptStyle = $get['ptStyle'] ?? dict::getDict('ptStyle', 'hd'); $tx = $get['tx'] ?? dict::getDict('yeTx', 'canNot'); $where = []; if (!empty($status)) { $where['status'] = $status; } $where['ptStyle'] = $ptStyle; if (!empty($tx)) { $where['tx'] = $tx; } $respond = PtYeChangeClass::getChangeList($where); if (isset($respond['list']) && !empty($respond['list'])) { foreach ($respond['list'] as $key => $val) { if ($tx == dict::getDict('yeTx', 'can')) { $respond['list'][$key]['balance'] = '-'; } else { $respond['list'][$key]['txBalance'] = '-'; } } } util::success($respond); } }