如图:
domain=aaa
config.notifyBaseUrl=test ${domain}/notify/${random.value}-${spring.profiles.active}
按里说,${domain}会被解析成aaa,随机数也会被解析出来,但是实际情况下,我还是照原样输出的,${domain}还是${domain},我是有哪里没配置好的吗?
同样问题我也已经发到stackOverFlow了
https://stackoverflow.com/questions/54165884/spring-boot-can-not-be-resolved-in-properties-file