Compared with the model group, GYZXG was found to increase the ulcer inhibition rate in the GYZXG-M group (p < 0.05), reduce the levels of IL-6, TNF-α, PP in gastric tissue, and increase the levels of IL-10, IL-4, and EGF. GYZXG could intervene in GU by regulating serum metabolites such as Glycocholic acid, Epinephrine, Ascorbic acid, and Linoleic acid, and by influencing bile secretion, the HIF-1 signaling pathway, and adipocyte catabolism. This evidence concerns the gene TNF and ulcer disease.