First of all, moon cakes originated from Zhu Jie food in Tang Jun. During the reign of Tang Gaozu, General Li Jing conquered the Huns and returned home in triumph on August 15. At that time, a commercial Tubo presented cakes to the emperor of the Tang Dynasty. Gao Zu Li Yuan took the gorgeous cake box, took out the round cake, smiled at the bright moon in the sky and said, "Please invite toad with Hu cake." After that, share the cake with the ministers. Since then, the custom of eating moon cakes on Mid-Autumn Festival has been formed.
Another legend is that eating moon cakes in the Mid-Autumn Festival began in the Yuan Dynasty. At that time, the cruel rule of the ruling class in the Yuan Dynasty made the broad masses of people unbearable and rose up in succession. At that time, the imperial court carried out a large-scale manhunt, and it was very difficult to transmit news between insurgents from all over the country. Later, Liu Bowen thought of an idea, ordered people to put a note of "August 15 Uprising" in the cake, and then sent people to rebel troops in various places separately. On August 15, insurgents from all over the country responded at the same time and started a nationwide peasant uprising. Later, Zhu Yuanzhang won the world, and sent a decree to give the "moon cakes" secretly sent when he started to fight as Mid-Autumn Festival cakes to ministers.