摘要: spring boot环境的搭建,从spring官网下一个demo就可以了,地址:http://start.spring.io/。 1.pom.xml的配置(只需要加入一个spring boot启动父依赖即可) 2.Controller层 @RestController和@RequestMappin 阅读全文
posted @ 2018-11-19 22:24 crazyPants 阅读(257) 评论(0) 推荐(0) 编辑