The protagonist of the novel is Huang Dongdong, an ordinary administrator in a university. He is very busy at work on weekdays, but his salary is not high, and he is under great pressure to repay his mortgage. By chance, when Huang Dongdong came into contact with an exhibit from the Tang Dynasty while visiting a museum, he was suddenly taken away by a strange light and transported to the Wu Zetian period of the Tang Dynasty. Huang Dongdong, who had just crossed over, was very uncomfortable at first and wandered on the streets. Later, he met a county official, who took Huang Dongdong to settle down. A few months later, Huang Dongdong encountered a murder case while performing official duties with a clerk. It happened that Huang Dongdong especially liked reading detective novels before traveling through time, so Huang Dongdong helped the clerk analyze the case and guess who the murderer was. At this time, the Prime Minister Di Renjie was inspecting the county. After Di Renjie learned that the murder was solved by a subordinate of a petty official, Di Renjie was very fond of Huang Dongdong.