At this time, civilian groups have no reason to object. On the military side, Zhu Yuanzhang practiced the system of "military households", and soldiers could inherit official positions and get corresponding land. The soldiers are very grateful to him. So Zhu Yuanzhang killed many officials, and no one dared to rebel.
Under that historical background, as soon as Zhu Yuanzhang expelled foreigners, he established a dynasty headed by the Han people. This country is in a period of prosperity. At this time, Zhu Yuanzhang formulated many policies and suppressed many rich and corrupt officials. As a result, the status of the people has gradually improved, but corrupt officials are still rampant. Under the rule of Zhu Yuanzhang, many cancers were removed. And killed many officials. There is some social unrest, but no one dares to rebel.
Let's analyze, in the eyes of the civil service group, Zhu Yuanzhang is a good emperor. Moreover, he is the most upright emperor, and civil servants have no reason to rebel. Under the influence of Zhu Yuanzhang, civil servants are still clean. They also know that the emperor is not a vegetarian. So they still safeguard Zhu Yuanzhang's dignity and interests.
In the eyes of military attache, they respect the emperor more. Because Zhu Yuanzhang gave them many benefits, such as hereditary officers. You can get the corresponding land with some military exploits. Zhu Yuanzhang's "military household" system won the support of soldiers. So they have no reason to resist.