Disclosed are a class of URAT1 inhibitor compounds and the use of such compounds. These compounds are compounds represented by the structure of formula (I) or pharmaceutically acceptable salts thereof. Experiments show that the compounds provided by the present invention have a very good inhibitory effect on hURAT1-transported uric acid in HEK293 transfected cells, and show that such compounds have a good potential for application in the treatment of hyperuricemia or gout.