person.last-name=王腾${random.uuid}
person.age=${random.int}
person.dog.name=${person.last-name}dog
person.dog=${person.hello:hello}dog 没有定义这个值,取不出person.hello,取得默认值hello
Spring Boot 配置文件占位符
最新推荐文章于 2022-12-25 13:54:59 发布
person.last-name=王腾${random.uuid}
person.age=${random.int}
person.dog.name=${person.last-name}dog
person.dog=${person.hello:hello}dog 没有定义这个值,取不出person.hello,取得默认值hello