Our study provided a hint that astragalin and rosmarinic acid might regulate the JAK-STAT pathway by targeting PIM2 and STAT1, respectively, while paeoniflorin and rosmarinic acid were likely to regulate inflammatory disorder by targeting TNFα, IL-6, and IL-4 during T2D. This evidence concerns the gene IL6 and type 2 diabetes mellitus.