注解,笔记

@ResponseBody的作用就是:https://www.cnblogs.com/daimajun/p/7152970.htm

@Configurationl 标记该类作为应用程序上下文的bean定义的源。

@EnableAutoConfiguration 告诉Spring Boot开始根据类路径设置,其他bean和各种属性设置添加bean。

@PostConstruct 就是初始化之前,调用一下你的方法

原文地址:https://www.cnblogs.com/fuckingPangzi/p/9944144.html