In the summer of 2011, Hao Chenzhang, Zhang Liao, and graduate student Luo Chun, who were about to enter college, accidentally traveled through time while visiting an exhibition in the Forbidden City, and were involved in the late Qing court as palace maids, guards, and counselors respectively. Chenzhang relied on his modern wisdom and gentleness to become the spiritual pillar of Emperor Guangxu (Zaitan) in the troubled times; Zhang Liao gained the trust of Prince Chun with his loyalty and astuteness and silently protected Chenzhang; Luo Chun used historical knowledge to resolve crises and help the emperor reform.
The three accompanied Emperor Guangxu through the wedding, the Reform Movement of 1898, and the imprisonment in Yingtai, witnessing the decadence of the late Qing Dynasty and the emperor's helplessness. On the eve of the Eight-Power Allied Forces' invasion of China, they were sent back to modern times by a strange light beside Zhen Fei's Well, and their memories of time travel gradually blurred. But this special experience became a bright spot in their summer vacation, allowing them to learn to love and grow.
After his return, Guangxu was reincarnated as Tang Yuan, the great student of B. He reunited with Chen Zhang and solved the knot in his past life, and the two became best friends. Tang Yuan and Dou Bingjie started a family and decided to return to their hometown to work as university teachers after graduation. Hao Chenzhang and Zhang Liao finally got married. Luo Chun successfully entered graduate school, confessed to his girlfriend successfully, joined the journalism industry after graduation, and started a family. Many years later, everyone revisited the Forbidden City and had a "distance conversation" with Emperor Guangxu. The regrets that spanned a century were finally fulfilled in the modern era.