This study aims to compare the levels of serum pancreatic polypeptide (PP), insulin (INS), C-peptide (C-P), and glucagon (GCG) before and after glucose stimulation in type 2 diabetes mellitus (T2DM) patients with different body mass indexes (BMI), analyze the relevant factors associated with PP secretion, and further investigate the role of PP in the development of obesity and diabetes. The gene discussed is PPY; the disease is diabetes mellitus.