Qing Chuan gave up the opportunity to return to modern times with Liang Fei, because Mei provided her with a wedding in Taohualin. Huaying was bought by 13 from the slave market (because he saw Huaying looks exactly like Qingchuan).
Huaying replaced Qingchuan in the 29th episode and married Mei (but Mei saw the clue and became suspicious).
In 30 episodes, Hua Ying was caught and shot by the emperor. Later, Mei held a wedding in Qingchuan.
The ending is chasing Qingchuan across to modern life in May (happy ending! )