Forensic expert Shen Wei accidentally traveled through time and became the daughter of a county magistrate who was imprisoned. She used modern knowledge to prove her innocence, but she was involved in a larger conspiracy.
In order to investigate the serial murder case, Shen Wei disguised herself as a man and sneaked into the underground black market, where she met Pei Jiuchuan, the undercover commander of the Prison Department.
The two were forced to work together to solve the case, discover secret messages pointing to the royal family from seven mutilated corpses, and form a special investigation team.
Behind every case lies the layout of the "Netherworld Pavilion", a remnant of the previous dynasty, and the heroine's life experience is related to the palace change twenty years ago.