Qin Bowen, a scholar in the market, accidentally got involved in palace intrigues and embarked on a career of ups and downs. On the way, they met the noble concubine Li Miaoyin and the gangster Chen Yixiao. In the court affairs and interesting folk stories, the three of them worked together to deal with various crises. Every crisis hides laughter and the brilliance of humanity, and friendship, love, and power are intertwined: from farce in the city to turmoil in the palace, from trivial family matters to national righteousness, the protagonist uses wisdom and humor to resolve the crisis, and gradually grows into a wise minister. In the final volume, the conspiracy battle reaches its climax, everyone's fate intersects, and the protagonist faces the choice between friendship and justice. Finally, the legend is written with humor and ends successfully.