In this study, a T2DM rat model and an apoptosis model of MIN6 cells were established to investigate whether WSZYF could treat T2DM by inhibiting pancreatic β cell apoptosis and its role in regulating MEK-ERK-Caspase-3 signaling pathway. The gene discussed is CASP3; the disease is type 2 diabetes mellitus.