有位博主写的文章很详细,请参考:https://blog.csdn.net/u012843873/article/details/80540499
demo参考:https://github.com/xkcoding/spring-boot-demo