Network pharmacology revealed that GQD treatment for T2DM and UC mainly targets immune-inflammatory pathways like Toll-like receptor, IL-17, TNF, MAPK, and PI3K-Akt signaling pathways. Here, IL17A is linked to type 2 diabetes mellitus.