SpringBoot YML properties
0
-
SpringBoot实现读取YML,yaml,properties文件
目录1.在项目中新建配置文件,文件存放地址2.配置文件中写入相关配置3.创建一个类来接收这些配置4.举例获取并且使用配置文件里边的数据yml,yaml,properties三种文件都是用来存放配置的文件,一些静态数据,配置的数[详细]
2023-04-15 10:28 分类:开发