摘要: Springboot不使用默认的application.properties的两种方法 一、使用@PropertySource注解 @PropertySource("classpath:xxx.properties"),这个注解专门用来加载指定位置的properties文件,一般我们将自定义的配置文 阅读全文
posted @ 2021-02-27 22:13 herrhu 阅读(1220) 评论(0) 推荐(0)