SpringBoot学习_配置文件占位符

文章目录 随机数 占位符获取之前配置的值,如果没有可以用:指定默认值 随机数 ${random.value}、${random.int}、${random.long} ${random.int(10)}、${random.int[1024,65536]} 例子: 占位符获取之前配置的值,如果没有可以用:指定默认值
相关文章
相关标签/搜索