Lin Xiaoxiao, a funny and impoverished writer, travels back to the Tang Dynasty and makes a fortune based on her memories. She becomes the richest man in Beijing and has emotional entanglements with many male dignitaries. Finally, she meets Chen Yan, the male protagonist who appears to be a farmer but is actually the prince's junior teacher in the former dynasty. She returns to her hometown to live a life of authenticity.