Lin Yan, a senior high school student, is a rebellious young man who is full of suspense and intrigue and regards the classroom as a prison. His biggest dream is to become a detective, but he is trapped in endless test papers and unable to breathe. While staying up late to watch a suspense drama, he suddenly transformed into an unknown little eunuch in the palace.
The inner gardens of the palace are treacherous and treacherous, a series of unsolved mysteries remain unsolved, and a mystery in the secret room confuses the ministers. No one expected that this seemingly humble little eunuch would actually hide the hard-core imagination of modern suspense fans. Relying on his keen observation and rigorous logical reasoning, he uncovered countless undocumented old cases. He even dared to analyze people's hearts in front of the emperor and restore the truth. Step by step, he went from a transparent person in the corner of the cold palace to a famous "investigator" in the palace.
What's even more outrageous is that when he was investigating a secret case in the palace, he actually bumped into his high school classmate who had traveled through time and space with him and who had read suspense novels with him! The former classmate turned into a junior doctor in the imperial hospital, and the two of them... Two modern high school students, assuming the identities of eunuchs and imperial doctors, join forces to investigate cases in the strict palace. On the one hand, they have to avoid the suspicion of the powerful and resolve endless crises, while on the other hand, they cause countless ridiculous and embarrassing things due to their misplaced identities.
Undercurrents in the court, treacherous harem, comedy and suspense intertwined, friendship and danger go hand in hand. Let's see how this "detective duo" wrote a ridiculous and thrilling detective legend in the ancient palace.