![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
HLoach
这个作者很懒,什么都没留下…
展开
-
Spring boot框架结合MyBatis框架模板搭建
1.创建maven项目SpringBootDemo 2.在maven的配置文件pom.xml中配置使用Spring boot需要用到的包 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="h原创 2017-07-24 14:53:45 · 670 阅读 · 0 评论 -
Spring boot项目设定返回数据为JSON固定格式
1.配置处理json的配置类 package com.test.config; import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter; import org.springframework.boot.autoconfigure.web.HttpMessageConverters; import org.s原创 2017-07-25 16:55:17 · 6111 阅读 · 0 评论