$petConfigData, 'pet_level_config' => $petLevelConfigData, 'pet_skill_config' => $petSkillConfigData, 'success' => true, 'generated_ts' => time(), 'message' => '宠物配置已拆分为三个独立文件,请使用各自的缓存类获取' ]; } /** * 获取缓存时间(秒) * * @return int */ static public function getTtl(): int { return 3600; // 1小时 } /** * 获取防重复执行时间(秒) * * @return int */ static public function getPreventDuplication(): int { return 600; // 10分钟 } /** * 获取必需参数索引 * * @return array */ static public function getRequiredArgIndex(): array { return []; } }