The levels of IL-2, IL-17A, IL-17F, IL-22, TNF-α, and IFN-γ were significantly higher in patients with mild and moderate gastritis than Hp- group (P≤0.05). The gene discussed is IL17F; the disease is gastritis.