The present invention relates to the field of pharmaceutical chemistry. Disclosed are a novel indoleamine-2,3-dioxygenase (IDO) inhibitor, a preparation method therefor, and a use thereof. The IDO inhibitor in the present invention has a structure represented by formula (I) and has multiple pharmacological activities such as the prevention of cancers, the prevention of neurodegenerative diseases, and the prevention of inflammation.La présente invention se rapporte au domaine de la chimie pharmaceutique. L'invention concerne un nouvel inhibiteur de l'indoléamine 2,3-dioxygénase (IDO), son procédé de préparation et son utilisation. L'inhibiteur d'IDO selon la présente invention a une structure représentée par la formule (I) et a de multiples activités pharmacologiques telles que la prévention de cancers, de maladies neurodégénératives et de l'inflammation.