Excessive IL-17A combines with the specific receptor IL-17Rc in microglia and astrocytes, further activates microglia M1 phenotype and astrocyte A1 phenotype and triggers IDO enzyme activity, thereby causing neurotransmitter metabolism and inducing depression-like behaviors. The gene discussed is IL17A; the disease is depressive disorder.