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. Here, IL17A is linked to depressive symptom measurement.