These findings displayed the potential of WSZYF as a new drug candidate in the treatment of T2DM and the antidiabetic mechanism of WSZYF is probably mediated through modulating the PTP1B-IRS1-Akt-GLUT4 signaling pathway. Here, PTPN1 is linked to type 2 diabetes mellitus.