After synthesizing these peptides, NWYR showed the best inhibitory effect on α-glucosidase with IC50 = 0.200±0.040 mg/mL, and it can regulate a variety of biological processes, play a variety of molecular functions in different cellular components, and play a hypoglycemic role by participating in diabetic cardiomyopathy and IL-17 signaling pathway. The gene discussed is IL17A; the disease is diabetic cardiomyopathy.