request->get(); $where = []; $where['mainId'] = $this->mainId; $parentId = $get['parentId'] ?? 0; if (empty($parentId)) { util::fail('没有找到相关信息'); } $where['parentId'] = $parentId; $list = BookItemGhsClass::getAllByCondition($where, 'addTime DESC', '*'); util::success(['list' => $list]); } }