注解,笔记

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

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

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

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

posted @ 2018-11-11 23:07  正能量教官  阅读(107)  评论(0编辑  收藏  举报