springboot配置文件中的${...}和@...@

在springboot的配置文件中,即application.properties或application.yml

${}最好用于取springboot配置文件配置得值

@@引用其他文件(除springboot配置文件,像pom.xml)中定义的值, 用@ @

原文地址:https://www.cnblogs.com/kikochz/p/12799996.html