1
1
/*
2
2
Navicat Premium Data Transfer
3
3
4
- Source Server : blog
4
+ Source Server : tencent
5
5
Source Server Type : MySQL
6
- Source Server Version : 80022
7
- Source Host : 139.196.6.14 :3306
6
+ Source Server Version : 80026
7
+ Source Host : 81.68.228.31 :3306
8
8
Source Schema : test
9
9
10
10
Target Server Type : MySQL
11
- Target Server Version : 80022
11
+ Target Server Version : 80026
12
12
File Encoding : 65001
13
13
14
- Date: 24/08 /2021 11:26:32
14
+ Date: 04/10 /2021 16:14:55
15
15
*/
16
16
17
17
SET NAMES utf8mb4;
@@ -42,7 +42,7 @@ CREATE TABLE `tb_article` (
42
42
-- ----------------------------
43
43
-- Records of tb_article
44
44
-- ----------------------------
45
- INSERT INTO ` tb_article` VALUES (47 , 1 , 184 , ' https://www.static.talkxj.com/articles/bd74062266c1fb04f3084968231c0580.jpg' , ' 测试文章' , ' ## 目录\n\n 恭喜你已成功运行博客,开启你的文章之旅吧' , 1 , ' ' , 0 , 0 , 1 , ' 2021-08-12 15:50:57' , ' 2021-08-12 15:52:19 ' );
45
+ INSERT INTO ` tb_article` VALUES (47 , 1 , 184 , ' https://www.static.talkxj.com/articles/bd74062266c1fb04f3084968231c0580.jpg' , ' 测试文章' , ' ## 目录\n\n 恭喜你已成功运行博客,开启你的文章之旅吧' , 1 , ' ' , 0 , 0 , 1 , ' 2021-08-12 15:50:57' , ' 2021-10-04 16:08:02 ' );
46
46
47
47
-- ----------------------------
48
48
-- Table structure for tb_article_tag
@@ -55,12 +55,12 @@ CREATE TABLE `tb_article_tag` (
55
55
PRIMARY KEY (` id` ) USING BTREE,
56
56
INDEX ` fk_article_tag_1` (` article_id` ) USING BTREE,
57
57
INDEX ` fk_article_tag_2` (` tag_id` ) USING BTREE
58
- ) ENGINE = InnoDB AUTO_INCREMENT = 495 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
58
+ ) ENGINE = InnoDB AUTO_INCREMENT = 496 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
59
59
60
60
-- ----------------------------
61
61
-- Records of tb_article_tag
62
62
-- ----------------------------
63
- INSERT INTO ` tb_article_tag` VALUES (494 , 47 , 27 );
63
+ INSERT INTO ` tb_article_tag` VALUES (495 , 47 , 27 );
64
64
65
65
-- ----------------------------
66
66
-- Table structure for tb_category
@@ -95,7 +95,7 @@ CREATE TABLE `tb_chat_record` (
95
95
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
96
96
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
97
97
PRIMARY KEY (` id` ) USING BTREE
98
- ) ENGINE = InnoDB AUTO_INCREMENT = 1890 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
98
+ ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
99
99
100
100
-- ----------------------------
101
101
-- Records of tb_chat_record
@@ -215,7 +215,7 @@ CREATE TABLE `tb_message` (
215
215
` create_time` datetime NOT NULL COMMENT ' 发布时间' ,
216
216
` update_time` datetime NULL DEFAULT NULL COMMENT ' 修改时间' ,
217
217
PRIMARY KEY (` id` ) USING BTREE
218
- ) ENGINE = InnoDB AUTO_INCREMENT = 3458 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
218
+ ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
219
219
220
220
-- ----------------------------
221
221
-- Records of tb_message
@@ -242,13 +242,14 @@ CREATE TABLE `tb_operation_log` (
242
242
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
243
243
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
244
244
PRIMARY KEY (` id` ) USING BTREE
245
- ) ENGINE = InnoDB AUTO_INCREMENT = 688 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
245
+ ) ENGINE = InnoDB AUTO_INCREMENT = 691 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
246
246
247
247
-- ----------------------------
248
248
-- Records of tb_operation_log
249
249
-- ----------------------------
250
250
INSERT INTO ` tb_operation_log` VALUES (688 , ' 角色模块' , ' 新增或修改' , ' /admin/role' , ' com.minzheng.blog.controller.RoleController.saveOrUpdateRole' , ' 保存或更新角色' , ' [{\" id\" :1,\" resourceIdList\" :[165,192,193,194,195,166,183,184,246,247,167,199,200,201,168,185,186,187,188,189,190,191,254,169,208,209,170,234,235,236,237,171,213,214,215,216,217,224,172,240,241,244,245,267,269,270,173,239,242,276,174,205,206,207,175,218,219,220,221,222,223,176,202,203,204,230,238,177,229,232,233,243,178,196,197,198,257,258,179,225,226,227,228,231,180,210,211,212],\" roleLabel\" :\" admin\" ,\" roleName\" :\" 管理员\" }]' , ' POST' , ' {\" code\" :20000,\" flag\" :true,\" message\" :\" 操作成功\" }' , 1 , ' 管理员' , ' 127.0.0.1' , ' ' , ' 2021-08-24 11:25:33' , NULL );
251
251
INSERT INTO ` tb_operation_log` VALUES (689 , ' 角色模块' , ' 新增或修改' , ' /admin/role' , ' com.minzheng.blog.controller.RoleController.saveOrUpdateRole' , ' 保存或更新角色' , ' [{\" id\" :3,\" resourceIdList\" :[192,195,183,246,199,185,191,254,208,234,237,213,241,239,276,205,218,223,202,230,238,232,243,196,257,258,225,231,210],\" roleLabel\" :\" test\" ,\" roleName\" :\" 测试\" }]' , ' POST' , ' {\" code\" :20000,\" flag\" :true,\" message\" :\" 操作成功\" }' , 1 , ' 管理员' , ' 127.0.0.1' , ' ' , ' 2021-08-24 11:25:40' , NULL );
252
+ INSERT INTO ` tb_operation_log` VALUES (690 , ' 文章模块' , ' 新增或修改' , ' /admin/articles' , ' com.minzheng.blog.controller.ArticleController.saveOrUpdateArticle' , ' 添加或修改文章' , ' [{\" articleContent\" :\" ## 目录\\ n\\ n恭喜你已成功运行博客,开启你的文章之旅吧\" ,\" articleCover\" :\" https://www.static.talkxj.com/articles/bd74062266c1fb04f3084968231c0580.jpg\" ,\" articleTitle\" :\" 测试文章\" ,\" categoryName\" :\" 测试分类\" ,\" id\" :47,\" isTop\" :0,\" originalUrl\" :\"\" ,\" status\" :1,\" tagNameList\" :[],\" type\" :1}]' , ' POST' , ' {\" code\" :20000,\" flag\" :true,\" message\" :\" 操作成功\" }' , 1 , ' 管理员' , ' 127.0.0.1' , ' ' , ' 2021-10-04 16:08:02' , NULL );
252
253
253
254
-- ----------------------------
254
255
-- Table structure for tb_page
@@ -267,16 +268,16 @@ CREATE TABLE `tb_page` (
267
268
-- ----------------------------
268
269
-- Records of tb_page
269
270
-- ----------------------------
270
- INSERT INTO ` tb_page` VALUES (1 , ' 首页' , ' home' , ' https://www.static.talkxj.com/ymwmek .jpg' , ' 2021-08-07 10:32:36' , NULL );
271
- INSERT INTO ` tb_page` VALUES (2 , ' 归档' , ' archive' , ' https://www.static.talkxj.com/wallroom-1920x1080-bg-338d7bc .jpg' , ' 2021-08-07 10:32:36' , NULL );
272
- INSERT INTO ` tb_page` VALUES (3 , ' 分类' , ' category' , ' https://www.static.talkxj.com/wallhaven-13mk9v .jpg' , ' 2021-08-07 10:32:36' , NULL );
273
- INSERT INTO ` tb_page` VALUES (4 , ' 标签' , ' tag' , ' https://www.static.talkxj.com/photos /a6f141372509365891081d755da963a1.png' , ' 2021-08-07 10:32:36' , ' 2021-08-07 11:21:54 ' );
274
- INSERT INTO ` tb_page` VALUES (5 , ' 相册' , ' album' , ' https://www.static.talkxj.com/album .jpg' , ' 2021-08-07 10:32:36' , NULL );
275
- INSERT INTO ` tb_page` VALUES (6 , ' 友链' , ' link' , ' https://www.static.talkxj.com/fdl .jpg' , ' 2021-08-07 10:32:36' , NULL );
276
- INSERT INTO ` tb_page` VALUES (7 , ' 关于' , ' about' , ' https://www.static.talkxj.com/about .jpg' , ' 2021-08-07 10:32:36' , NULL );
277
- INSERT INTO ` tb_page` VALUES (8 , ' 留言' , ' message' , ' https://www.static.talkxj.com/d5ojdj.jpg ' , ' 2021-08-07 10:32:36' , NULL );
278
- INSERT INTO ` tb_page` VALUES (9 , ' 个人中心' , ' user' , ' https://www.static.talkxj.com/article/setting .jpeg' , ' 2021-08-07 10:32:36' , NULL );
279
- INSERT INTO ` tb_page` VALUES (902 , ' 文章列表' , ' articleList' , ' https://www.static.talkxj.com/photos/663a6e574a6845669fb417a3f02c7afb .jpg' , ' 2021-08-10 15:36:19' , NULL );
271
+ INSERT INTO ` tb_page` VALUES (1 , ' 首页' , ' home' , ' https://www.static.talkxj.com/config/0bee7ba5ac70155766648e14ae2a821f .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:42:46 ' );
272
+ INSERT INTO ` tb_page` VALUES (2 , ' 归档' , ' archive' , ' https://www.static.talkxj.com/config/643f28683e1c59a80ccfc9cb19735a9c .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:43:14 ' );
273
+ INSERT INTO ` tb_page` VALUES (3 , ' 分类' , ' category' , ' https://www.static.talkxj.com/config/83be0017d7f1a29441e33083e7706936 .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:43:31 ' );
274
+ INSERT INTO ` tb_page` VALUES (4 , ' 标签' , ' tag' , ' https://www.static.talkxj.com/config /a6f141372509365891081d755da963a1.png' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:43:38 ' );
275
+ INSERT INTO ` tb_page` VALUES (5 , ' 相册' , ' album' , ' https://www.static.talkxj.com/config/f8fb7e2de0780239048276e7840527e5 .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:43:53 ' );
276
+ INSERT INTO ` tb_page` VALUES (6 , ' 友链' , ' link' , ' https://www.static.talkxj.com/config/9034edddec5b8e8542c2e61b0da1c1da .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:44:02 ' );
277
+ INSERT INTO ` tb_page` VALUES (7 , ' 关于' , ' about' , ' https://www.static.talkxj.com/config/2a56d15dd742ff8ac238a512d9a472a1 .jpg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:44:08 ' );
278
+ INSERT INTO ` tb_page` VALUES (8 , ' 留言' , ' message' , ' https://www.static.talkxj.com/config/acfeab8379508233fa7e4febf90c2f2e.png ' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:44:17 ' );
279
+ INSERT INTO ` tb_page` VALUES (9 , ' 个人中心' , ' user' , ' https://www.static.talkxj.com/config/ebae4c93de1b286a8d50aa62612caa59 .jpeg' , ' 2021-08-07 10:32:36' , ' 2021-10-04 15:45:17 ' );
280
+ INSERT INTO ` tb_page` VALUES (10 , ' 文章列表' , ' articleList' , ' https://www.static.talkxj.com/config/924d65cc8312e6cdad2160eb8fce6831 .jpg' , ' 2021-08-10 15:36:19' , ' 2021-10-04 15:45:45 ' );
280
281
281
282
-- ----------------------------
282
283
-- Table structure for tb_photo
@@ -292,7 +293,7 @@ CREATE TABLE `tb_photo` (
292
293
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
293
294
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
294
295
PRIMARY KEY (` id` ) USING BTREE
295
- ) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = ' 照片' ROW_FORMAT = DYNAMIC;
296
+ ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = ' 照片' ROW_FORMAT = DYNAMIC;
296
297
297
298
-- ----------------------------
298
299
-- Records of tb_photo
@@ -312,7 +313,7 @@ CREATE TABLE `tb_photo_album` (
312
313
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
313
314
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
314
315
PRIMARY KEY (` id` ) USING BTREE
315
- ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = ' 相册' ROW_FORMAT = DYNAMIC;
316
+ ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = ' 相册' ROW_FORMAT = DYNAMIC;
316
317
317
318
-- ----------------------------
318
319
-- Records of tb_photo_album
@@ -332,7 +333,7 @@ CREATE TABLE `tb_resource` (
332
333
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
333
334
` update_time` datetime NULL DEFAULT NULL COMMENT ' 修改时间' ,
334
335
PRIMARY KEY (` id` ) USING BTREE
335
- ) ENGINE = InnoDB AUTO_INCREMENT = 275 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
336
+ ) ENGINE = InnoDB AUTO_INCREMENT = 277 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
336
337
337
338
-- ----------------------------
338
339
-- Records of tb_resource
@@ -447,7 +448,7 @@ INSERT INTO `tb_resource` VALUES (272, '微博登录', '/users/oauth/weibo', 'PO
447
448
INSERT INTO ` tb_resource` VALUES (273 , ' 修改密码' , ' /users/password' , ' PUT' , 173 , 1 , ' 2021-08-11 21:04:22' , ' 2021-08-11 21:07:09' );
448
449
INSERT INTO ` tb_resource` VALUES (274 , ' 上传语音' , ' /voice' , ' POST' , 166 , 1 , ' 2021-08-11 21:04:22' , ' 2021-08-11 21:05:33' );
449
450
INSERT INTO ` tb_resource` VALUES (275 , ' 上传访客信息' , ' /report' , ' POST' , 166 , 1 , ' 2021-08-24 11:24:08' , ' 2021-08-24 11:24:10' );
450
- INSERT INTO ` tb_resource` VALUES (276 , ' 获取用户区域分布' , ' /admin/user /area' , ' GET' , 173 , 0 , ' 2021-08-24 11:24:33' , NULL );
451
+ INSERT INTO ` tb_resource` VALUES (276 , ' 获取用户区域分布' , ' /admin/users /area' , ' GET' , 173 , 0 , ' 2021-08-24 11:24:33' , NULL );
451
452
452
453
-- ----------------------------
453
454
-- Table structure for tb_role
@@ -461,7 +462,7 @@ CREATE TABLE `tb_role` (
461
462
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
462
463
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
463
464
PRIMARY KEY (` id` ) USING BTREE
464
- ) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
465
+ ) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
465
466
466
467
-- ----------------------------
467
468
-- Records of tb_role
@@ -605,7 +606,7 @@ CREATE TABLE `tb_role_resource` (
605
606
` role_id` int NULL DEFAULT NULL COMMENT ' 角色id' ,
606
607
` resource_id` int NULL DEFAULT NULL COMMENT ' 权限id' ,
607
608
PRIMARY KEY (` id` ) USING BTREE
608
- ) ENGINE = InnoDB AUTO_INCREMENT = 4076 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
609
+ ) ENGINE = InnoDB AUTO_INCREMENT = 4193 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
609
610
610
611
-- ----------------------------
611
612
-- Records of tb_role_resource
@@ -760,7 +761,7 @@ CREATE TABLE `tb_unique_view` (
760
761
` create_time` datetime NOT NULL COMMENT ' 时间' ,
761
762
` views_count` int NOT NULL COMMENT ' 访问量' ,
762
763
PRIMARY KEY (` id` ) USING BTREE
763
- ) ENGINE = InnoDB AUTO_INCREMENT = 369 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
764
+ ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
764
765
765
766
-- ----------------------------
766
767
-- Records of tb_unique_view
@@ -783,12 +784,12 @@ CREATE TABLE `tb_user_auth` (
783
784
` last_login_time` datetime NULL DEFAULT NULL COMMENT ' 上次登录时间' ,
784
785
PRIMARY KEY (` id` ) USING BTREE,
785
786
UNIQUE INDEX ` username` (` username` ) USING BTREE
786
- ) ENGINE = InnoDB AUTO_INCREMENT = 553 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
787
+ ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
787
788
788
789
-- ----------------------------
789
790
-- Records of tb_user_auth
790
791
-- ----------------------------
791
- INSERT INTO ` tb_user_auth` VALUES (1 , 1 , ' admin@qq.com' , ' $2a$10$AkxkZaqcxEXdiNE1nrgW1.ms3aS9C5ImXMf8swkWUJuFGMqDl.TPW' , 1 , ' 127.0.0.1' , ' ' , ' 2021-08-12 15:43:18' , ' 2021-08-24 11:23:03 ' , ' 2021-08-24 11:23:02 ' );
792
+ INSERT INTO ` tb_user_auth` VALUES (1 , 1 , ' admin@qq.com' , ' $2a$10$AkxkZaqcxEXdiNE1nrgW1.ms3aS9C5ImXMf8swkWUJuFGMqDl.TPW' , 1 , ' 127.0.0.1' , ' ' , ' 2021-08-12 15:43:18' , ' 2021-10-04 16:07:44 ' , ' 2021-10-04 16:07:44 ' );
792
793
793
794
-- ----------------------------
794
795
-- Table structure for tb_user_info
@@ -805,7 +806,7 @@ CREATE TABLE `tb_user_info` (
805
806
` create_time` datetime NOT NULL COMMENT ' 创建时间' ,
806
807
` update_time` datetime NULL DEFAULT NULL COMMENT ' 更新时间' ,
807
808
PRIMARY KEY (` id` ) USING BTREE
808
- ) ENGINE = InnoDB AUTO_INCREMENT = 563 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
809
+ ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
809
810
810
811
-- ----------------------------
811
812
-- Records of tb_user_info
0 commit comments