您的位置: 首页 > 文章 > SpringBoot学习_配置文件占位符 SpringBoot学习_配置文件占位符 分类: 文章 • 2024-04-24 13:58:15 文章目录 随机数 占位符获取之前配置的值,如果没有可以用:指定默认值 随机数 ${random.value}、${random.int}、${random.long} ${random.int(10)}、${random.int[1024,65536]} 例子: 占位符获取之前配置的值,如果没有可以用:指定默认值