These results indicate that the gut microbiota and indicators related to glucose metabolism and vascular endothelial cell function were improved in T2DM patients after the use of GLP-1, suggesting that GLP-1 has a good hypoglycemic effect and protective effect on vascular endothelial function in patients with T2DM. Here, GCG is linked to type 2 diabetes mellitus.