File tree Expand file tree Collapse file tree 2 files changed +44
-20
lines changed Expand file tree Collapse file tree 2 files changed +44
-20
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ## 相关文章
2
+
3
+ 1.[ SpringMVC配置太多?试试SpringBoot] ( https://xiaour.github.io/2018/05/02/The_SpringMVC_configuration_is_too_much_Try_SpringBoot/ )
4
+
5
+ 2.[ Springboot集成Kafka] ( https://xiaour.github.io/2018/05/23/Springboot_integrated_Kafka/ )
6
+
7
+ 3.[ Springboot集成RocketMQ] ( https://xiaour.github.io/2018/08/16/SpringbootRocketMQ/ )
8
+
9
+
10
+ ### 代码部分
11
+
12
+ ⭐️ SpringBootDemo
13
+ 本代码集成了SpringBoot+MyBatis+Redis+MySql。
14
+ 最新的部分经网友指正已经把冗余的代码去掉了,大家clone到本地后直接转成maven项目应该就可以运行了,项目中使用到的数据库表如下
15
+
16
+ ``` sql
17
+ -- ----------------------------
18
+ -- Table structure for `user_info`
19
+ -- ----------------------------
20
+ DROP TABLE IF EXISTS ` user_info` ;
21
+ CREATE TABLE `user_info ` (
22
+ ` id` int (8 ) NOT NULL AUTO_INCREMENT,
23
+ ` name` varchar (20 ) NOT NULL ,
24
+ ` age` int (2 ) DEFAULT NULL ,
25
+ PRIMARY KEY (` id` )
26
+ ) ENGINE= InnoDB AUTO_INCREMENT= 2 DEFAULT CHARSET= utf8;
27
+
28
+ -- ----------------------------
29
+ -- Records of user_info
30
+ -- ----------------------------
31
+ INSERT INTO ` user_info` VALUES (' 1' , ' xiaour' , ' 18' );
32
+ ```
33
+
34
+ ⭐️ SpringBootDemoV2
35
+ 代码主要和SpringBootDemo的区别是使用了Springboot2.0
36
+
37
+ ⭐️ SpringBootKafkaDemo
38
+ Springboot2.0继承了Kafka消息中间件
39
+
40
+ ⭐️ SpringBootRocketMqDemo
41
+ Springboot2.0继承了RocketMQ4.3消息中间件
42
+
43
+
44
+
You can’t perform that action at this time.
0 commit comments