Springboot 通用权限系统笔记
一、简介
主要功能
业务架构
项目环境
二、Springboot Start
(一)starter介绍
(二)starter原理
1.起步依赖
2.自动配置
(1)基于Java代码的Bean配置
(2)自动配置条件依赖
(3)Bean参数获取
(4)Bean的发现
(5)Bean的加载
3.自动配置总结
(三)自定义starter
1.创建工程
2.创建配置属性类HelloProperties
3.创建服务类HelloService
4.创建自动配置类HelloServiceAutoConfiguration
5.在resources目录下创建meta-INF/spring.factories
(四)使用starter
1.pom文件
2.创建application.yml文件
3.创建HelloController
4.创建HelloController