0
是否有可能在物业在@ConfigurationProperties前缀
@ConfigurationProperties(prefix = "${domain}.user")
这不起作用使用属性。我只是想用来自同一个属性文件的另一个属性的值“前缀前缀”。例如:
domain=${domain}
domain1.user.username=john
domain2.user.username=irene
完整的前缀想使用“域1”作为domain
属性值滤波后会domain1.user
。