目录1.在项目中新建配置文件,文件存放地址2.配置文件中写入相关配置3.创建一个类来接收这些配置4.举例获取并且使用配置文件里边的数据yml,yaml,properties三种文件都是用来存放配置的文件,一些静态数据,配置的数
帅气天才_127 2022-03-19 14:47 开发者_开发问答想想开心的事情就好了