request->get(); $relateSecondId = $get['relateSecondId'] ?? 0; $customId = $get['customId'] ?? 0; $info = BookCustomClass::getById($relateSecondId, true); if (empty($info)) { util::fail('没有找到'); } if ($info->mainId != $this->mainId) { util::fail('不是你的哦'); } $where = []; $where['relateSecondId'] = $relateSecondId; $where['customId'] = $customId; $respond = BookCustomChangeClass::getChangeList($where); util::success($respond); } }