随笔分类 - springboot
-
【SpringBoot】自定义注解实现yml格式配置文件注入
摘要:1.创建一个starter项目(非必须,主要更好分离代码) 2.创建注解文件@YamlSource @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Component public @inter 阅读全文
页尾
页尾
页尾
页尾
页尾
页尾
页尾