Skip to content

springboot yml文件中的变量引用

application.yml文件:

yaml
userDir: /home/user

#使用${属性名}引用数据
codeDir: ${userDir}/code

最近更新:10/11/2024, 4:56:00 AM

原文链接:springboot yml文件中的变量引用

|下一篇:springboot自定义yml配置(配合lombak使用)