目录结构
application.properties
server.port=8080
server.servlet.context-path=/
school.name=bjpowernode
school.websit=http://www.bjpowernode.com
abc.name=abc
abc.websit=http://www.abc.com
School类
@Component//将此类将给spring容器进行管理
@ConfigurationProperties(prefix =