springboot的@ConfigurationProperties

https://www.cnblogs.com/jimoer/p/11374229.html

这里springboot可以把application.properties的内容通过@ConfigurationProperties来访问注入属性

猜你喜欢

转载自blog.csdn.net/yanhhuan/article/details/111682836