There are different types of environmental regulations, and there are other influencing factors that affect environmental performance. This study divides environmental regulation into command-and-control and market-incentive types. Taking China's A-share listed companies from 2010 to 2019 as research objects, this study analyzes the impact of different environmental regulations on environmental performance and the mediating role of green technology innovation. The results show that different environmental regulations have a positive effect on environmental performance, and green technology innovation has an intermediary effect between the two kinds of environmental regulations and environmental performance. The research in this paper explores solutions to enterprise innovation and environmental problems from different theoretical perspectives and extends the theoretical framework of the "Porter hypothesis" to the micro-level of enterprises.