The present disclosure provides a nitrogen heterocyclic tryptamine ketone derivative and application thereof as an indoleamine 2,3-dioxygenase 1 (IDO1) and/or tryptophan 2,3-dioxygenase (TDO) inhibitor. The derivative is represented by formula (I). The compound represented by formula (I) inhibits the IDO1 and/or TDO. The compound can be used to treat a disease with a pathological feature of tryptophan metabolism mediated by the IDO1 and/or TDO, including but not limited to a tumor, autoimmune disease, infectious disease, Alzheimer's disease, depressive disorder, and anxiety disorder.La présente invention concerne un dérivé hétérocyclique azoté tryptamine cétone et son application comme inhibiteur de l'indoléamine 2,3-dioxygénase 1 (IDO1) et/ou de la tryptophane 2,3-dioxygénase (TDO). Le dérivé est représenté par la formule (I). Le composé représenté par la formule (I) inhibe l'IDO1 et/ou TDO. Le composé peut être utilisé pour traiter une maladie présentant une caractéristique pathologique du métabolisme du tryptophane à médiation par l'IDO1 et/ou TDO, comprenant mais n'étant pas limitée à une tumeur, une maladie auto-immune, une maladie infectieuse, la maladie d'Alzheimer, un trouble dépressif, et un trouble de l'anxiété.本文公开了氮杂色胺酮衍生物作为IDO1和/或TDO抑制剂的用途,所述的衍生物如通式(I)所示。该通式(I)所示的化合物对吲哚胺-2,3-双加氧酶1(IDO1)和/或色氨酸-2,3-双加氧酶(TDO)具有抑制作用,可用于治疗具有IDO1和/或TDO介导的色氨酸代谢的病理学特征的疾病,包括但不限于肿瘤、自身免疫性疾病、感染性疾病、阿尔茨海默病、抑郁症、焦虑症。