Skip to content
tony.zhang edited this page Oct 17, 2017 · 2 revisions

SpringBootDemo

本代码集成了SpringBoot+MyBatis+Redis+MySql。 最新的部分经网友指正已经把冗余的代码去掉了,大家clone到本地后直接转成maven项目应该就可以运行了,项目中使用到的数据库表如下


-- Table structure for user_info


DROP TABLE IF EXISTS user_info; CREATE TABLE user_info ( id int(8) NOT NULL AUTO_INCREMENT, name varchar(20) NOT NULL, age int(2) DEFAULT NULL, PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;


-- Records of user_info


INSERT INTO user_info VALUES ('1', 'xiaour', '1231');

Clone this wiki locally