-
Notifications
You must be signed in to change notification settings - Fork 78
/
xc_media.sql
210 lines (195 loc) · 27.8 KB
/
xc_media.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
/*
Navicat Premium Data Transfer
Source Server : MySQL8.0
Source Server Type : MySQL
Source Server Version : 80029 (8.0.29)
Source Host : localhost:3306
Source Schema : xc_media
Target Server Type : MySQL
Target Server Version : 80029 (8.0.29)
File Encoding : 65001
Date: 16/06/2023 15:26:22
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for media_files
-- ----------------------------
DROP TABLE IF EXISTS `media_files`;
CREATE TABLE `media_files` (
`id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件id,md5值',
`company_id` bigint NULL DEFAULT NULL COMMENT '机构ID',
`company_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称',
`filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件名称',
`file_type` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件类型(图片、文档,视频)',
`tags` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标签',
`bucket` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '存储目录',
`file_path` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '存储路径',
`file_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件id',
`url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '媒资文件访问地址',
`username` varchar(60) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上传人',
`create_date` datetime NULL DEFAULT NULL COMMENT '上传时间',
`change_date` datetime NULL DEFAULT NULL COMMENT '修改时间',
`status` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '状态,1:正常,0:不展示',
`remark` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
`audit_status` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核状态',
`audit_mind` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核意见',
`file_size` bigint NULL DEFAULT NULL COMMENT '文件大小',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `unique_fileid`(`file_id` ASC) USING BTREE COMMENT '文件id唯一索引 '
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '媒资信息' ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of media_files
-- ----------------------------
INSERT INTO `media_files` VALUES ('045c777d1f6bd3bed64cba0121f3ce41', 1232141425, NULL, 'course6678581352107979539.html', '001003', NULL, 'mediafiles', '/course/163.html', '045c777d1f6bd3bed64cba0121f3ce41', NULL, NULL, '2023-03-18 19:35:27', NULL, '1', '', '002003', NULL, 35456);
INSERT INTO `media_files` VALUES ('1580180577525002241', 1232141425, NULL, '1.jpg', '001003', NULL, 'mediafiles', NULL, '8383a8c2c1d098fcc07da7d6e79ae31e', '/mediafiles/2022/10/12/8383a8c2c1d098fcc07da7d6e79ae31e.jpg', NULL, '2022-10-12 20:56:23', NULL, '1', NULL, NULL, NULL, 5767);
INSERT INTO `media_files` VALUES ('171ef1af45a0c0cb831a265cf9e558ff', 1232141425, NULL, 'face1.png', '001001', NULL, 'mediafiles', '2023/03/18/171ef1af45a0c0cb831a265cf9e558ff.png', '171ef1af45a0c0cb831a265cf9e558ff', '/mediafiles/2023/03/18/171ef1af45a0c0cb831a265cf9e558ff.png', NULL, '2023-03-18 19:50:15', NULL, '1', '', '002003', NULL, 201560);
INSERT INTO `media_files` VALUES ('1d0f0e6ed8a0c4a89bfd304b84599d9c', 1232141425, NULL, 'asset-icoGather.png', '001001', NULL, 'mediafiles', '2022/09/20/1d0f0e6ed8a0c4a89bfd304b84599d9c.png', '1d0f0e6ed8a0c4a89bfd304b84599d9c', '/mediafiles/2022/09/20/1d0f0e6ed8a0c4a89bfd304b84599d9c.png', NULL, '2022-09-20 21:21:28', NULL, '1', '', '002003', NULL, 8059);
INSERT INTO `media_files` VALUES ('1f229319d6fed3431d2f9d06193a433b', 1232141425, NULL, '01-分布式事务专题课程介绍.avi', '001002', '课程视频', 'video', '1/f/1f229319d6fed3431d2f9d06193a433b/1f229319d6fed3431d2f9d06193a433b.avi', '1f229319d6fed3431d2f9d06193a433b', '/video/1/f/1f229319d6fed3431d2f9d06193a433b/1f229319d6fed3431d2f9d06193a433b.mp4', NULL, '2022-09-14 18:30:02', NULL, '1', '', '002003', NULL, 14705152);
INSERT INTO `media_files` VALUES ('2324914c0a065a583f6bfba7080faef3', 1232141425, NULL, '胶水01.mp4', '001002', '课程视频', 'video', '2/3/2324914c0a065a583f6bfba7080faef3/2324914c0a065a583f6bfba7080faef3.mp4', '2324914c0a065a583f6bfba7080faef3', '/video/2/3/2324914c0a065a583f6bfba7080faef3/2324914c0a065a583f6bfba7080faef3.mp4', NULL, '2023-03-18 19:37:40', NULL, '1', '', '002003', NULL, 3981740);
INSERT INTO `media_files` VALUES ('23f83ae728bd1269eee7ea2236e79644', 1232141425, NULL, '16-Nacos配置管理-课程总结.avi', '001002', '课程视频', 'video', '2/3/23f83ae728bd1269eee7ea2236e79644/23f83ae728bd1269eee7ea2236e79644.avi', '23f83ae728bd1269eee7ea2236e79644', '/video/2/3/23f83ae728bd1269eee7ea2236e79644/23f83ae728bd1269eee7ea2236e79644.mp4', NULL, '2022-09-14 18:21:44', NULL, '1', '', '002003', NULL, 26053632);
INSERT INTO `media_files` VALUES ('287cdd91c5d444e0752b626cbd95b41c', 1232141425, NULL, 'nacos01.mp4', '001002', '课程视频', 'video', '2/8/287cdd91c5d444e0752b626cbd95b41c/287cdd91c5d444e0752b626cbd95b41c.mp4', '287cdd91c5d444e0752b626cbd95b41c', '/video/2/8/287cdd91c5d444e0752b626cbd95b41c/287cdd91c5d444e0752b626cbd95b41c.mp4', NULL, '2022-09-14 18:28:43', NULL, '1', '', '002003', NULL, 25953447);
INSERT INTO `media_files` VALUES ('33c643206bb7c08e2cb99b622d7a1b63', 1232141425, NULL, '1.png', '001001', NULL, 'mediafiles', '2022/10/07/33c643206bb7c08e2cb99b622d7a1b63.png', '33c643206bb7c08e2cb99b622d7a1b63', '/mediafiles/2022/10/07/33c643206bb7c08e2cb99b622d7a1b63.png', NULL, '2022-10-07 06:20:05', NULL, '1', '', '002003', NULL, 169788);
INSERT INTO `media_files` VALUES ('345db593849aada5675ed1e438650eeb', 1232141425, NULL, '1.png', '001001', NULL, 'mediafiles', '2022/10/07/345db593849aada5675ed1e438650eeb.png', '345db593849aada5675ed1e438650eeb', '/mediafiles/2022/10/07/345db593849aada5675ed1e438650eeb.png', NULL, '2022-10-07 09:31:46', NULL, '1', '', '002003', NULL, 70171);
INSERT INTO `media_files` VALUES ('36f8926f95da00ef0f823747aa9c1292', 1232141425, NULL, '421.jpg', '001001', NULL, 'mediafiles', '2023/03/08/36f8926f95da00ef0f823747aa9c1292.jpg', '36f8926f95da00ef0f823747aa9c1292', '/mediafiles/2023/03/08/36f8926f95da00ef0f823747aa9c1292.jpg', NULL, '2023-03-08 11:26:36', NULL, '1', '', '002003', NULL, 59953);
INSERT INTO `media_files` VALUES ('3a5a861d1c745d05166132c47b44f9e4', 1232141425, NULL, '01-Nacos配置管理-内容介绍.avi', '001002', '课程视频', 'video', '3/a/3a5a861d1c745d05166132c47b44f9e4/3a5a861d1c745d05166132c47b44f9e4.avi', '3a5a861d1c745d05166132c47b44f9e4', '/video/3/a/3a5a861d1c745d05166132c47b44f9e4/3a5a861d1c745d05166132c47b44f9e4.mp4', NULL, '2022-09-14 18:19:24', NULL, '1', '', '002003', NULL, 23839232);
INSERT INTO `media_files` VALUES ('3b2083e2923efe11b9d9b79f1f72c216', 1232141425, NULL, 'course8588720066681378628.html', '001003', NULL, 'mediafiles', '/course/160.html', '3b2083e2923efe11b9d9b79f1f72c216', NULL, NULL, '2023-03-07 23:01:34', NULL, '1', '', '002003', NULL, 35405);
INSERT INTO `media_files` VALUES ('3f991291b7e9bf9a6054c38fb1a5df63', 1232141425, NULL, '3F991291B7E9BF9A6054C38FB1A5DF63.mp4', '001002', '课程视频', 'video', '3/f/3f991291b7e9bf9a6054c38fb1a5df63/3f991291b7e9bf9a6054c38fb1a5df63.mp4', '3f991291b7e9bf9a6054c38fb1a5df63', '/video/3/f/3f991291b7e9bf9a6054c38fb1a5df63/3f991291b7e9bf9a6054c38fb1a5df63.mp4', NULL, '2023-02-19 16:28:37', NULL, '1', '', '002003', NULL, 5735485);
INSERT INTO `media_files` VALUES ('3fb1d9a565cb92f395f384bd62ef24cd', 1232141425, NULL, '1614759607876_0.png', '001001', '课程图片', 'mediafiles', '2022/09/20/3fb1d9a565cb92f395f384bd62ef24cd.png', '3fb1d9a565cb92f395f384bd62ef24cd', '/mediafiles/2022/09/20/3fb1d9a565cb92f395f384bd62ef24cd.png', NULL, '2022-09-20 21:06:11', NULL, '1', '', '002003', NULL, 58873);
INSERT INTO `media_files` VALUES ('500598cae139f77c1bb54459909e0443', 1232141425, NULL, 'course8561649859933456434.html', '001003', NULL, 'mediafiles', 'course/119.html', '500598cae139f77c1bb54459909e0443', '/mediafiles/course/119.html', NULL, '2022-10-07 09:39:49', NULL, '1', '', '002003', NULL, 35652);
INSERT INTO `media_files` VALUES ('50ba42e6be07eb947fa2a62592846b23', 1232141425, NULL, 'WX~LE91`W}UOKS3M14_AX`4.png', '001001', NULL, 'mediafiles', '2023/04/02/50ba42e6be07eb947fa2a62592846b23.png', '50ba42e6be07eb947fa2a62592846b23', '/mediafiles/2023/04/02/50ba42e6be07eb947fa2a62592846b23.png', NULL, '2023-04-02 23:16:43', NULL, '1', '', '002003', NULL, 512846);
INSERT INTO `media_files` VALUES ('553a3f65c7797a7bfc626a477f1fbbad', 1232141425, NULL, 'course8965540893435038928.html', '001003', NULL, 'mediafiles', '/course/159.html', '553a3f65c7797a7bfc626a477f1fbbad', NULL, NULL, '2023-03-07 23:01:34', NULL, '1', '', '002003', NULL, 34238);
INSERT INTO `media_files` VALUES ('5e784c03a5cd592424878b1ff2da17c6', 1232141425, NULL, '星际牛仔1.mp4', '001002', '课程视频', 'video', '5/e/5e784c03a5cd592424878b1ff2da17c6/5e784c03a5cd592424878b1ff2da17c6.mp4', '5e784c03a5cd592424878b1ff2da17c6', '/video/5/e/5e784c03a5cd592424878b1ff2da17c6/5e784c03a5cd592424878b1ff2da17c6.mp4', NULL, '2023-02-19 16:40:17', NULL, '1', '', '002003', NULL, 175121343);
INSERT INTO `media_files` VALUES ('632fb34166d91865da576032b9330ced', 1232141425, NULL, 'bg01.jpg', '001001', NULL, 'mediafiles', '2023/02/18/632fb34166d91865da576032b9330ced.jpg', '632fb34166d91865da576032b9330ced', '/mediafiles/2023/02/18/632fb34166d91865da576032b9330ced.jpg', NULL, '2023-02-18 17:07:52', NULL, '1', '', '002003', NULL, 22543);
INSERT INTO `media_files` VALUES ('66d196e9269c0ef7ee898108476b4408', 1232141425, NULL, 'face2.jpg', '001001', NULL, 'mediafiles', '2023/03/18/66d196e9269c0ef7ee898108476b4408.jpg', '66d196e9269c0ef7ee898108476b4408', '/mediafiles/2023/03/18/66d196e9269c0ef7ee898108476b4408.jpg', NULL, '2023-03-18 19:32:32', NULL, '1', '', '002003', NULL, 24229);
INSERT INTO `media_files` VALUES ('6ad24a762f67c18f61966c1b8c55abe6', 1232141425, NULL, '07-分布式事务基础理论-BASE理论.avi', '001002', '课程视频', 'video', '6/a/6ad24a762f67c18f61966c1b8c55abe6/6ad24a762f67c18f61966c1b8c55abe6.avi', '6ad24a762f67c18f61966c1b8c55abe6', '/video/6/a/6ad24a762f67c18f61966c1b8c55abe6/6ad24a762f67c18f61966c1b8c55abe6.mp4', NULL, '2022-09-14 18:30:16', NULL, '1', '', '002003', NULL, 13189632);
INSERT INTO `media_files` VALUES ('6f9d6d760b1195ab0d7531cabec035db', 1232141425, NULL, 'course1006313800592354357.html', '001003', NULL, 'mediafiles', '/course/163.html', '6f9d6d760b1195ab0d7531cabec035db', NULL, NULL, '2023-03-18 19:48:02', NULL, '1', '', '002003', NULL, 35432);
INSERT INTO `media_files` VALUES ('70a98b4a2fffc89e50b101f959cc33ca', 1232141425, NULL, '22-Hmily实现TCC事务-开发bank2的confirm方法.avi', '001002', '课程视频', 'video', '7/0/70a98b4a2fffc89e50b101f959cc33ca/70a98b4a2fffc89e50b101f959cc33ca.avi', '70a98b4a2fffc89e50b101f959cc33ca', '/video/7/0/70a98b4a2fffc89e50b101f959cc33ca/70a98b4a2fffc89e50b101f959cc33ca.mp4', NULL, '2022-09-14 18:30:52', NULL, '1', '', '002003', NULL, 18444288);
INSERT INTO `media_files` VALUES ('7169dd28e1fa4abc2b82ee712798737c', 1232141425, NULL, 'course5854770691383318165.html', '001003', NULL, 'mediafiles', '/course/165.html', '7169dd28e1fa4abc2b82ee712798737c', NULL, NULL, '2023-03-19 17:46:21', NULL, '1', '', '002003', NULL, 34834);
INSERT INTO `media_files` VALUES ('71744f739043fc9fbc78a0e075bfa214', 1232141425, NULL, '3`H7%GGQW3%0$B46C~E[ST1.bmp', '001001', NULL, 'mediafiles', '2023/03/19/71744f739043fc9fbc78a0e075bfa214.bmp', '71744f739043fc9fbc78a0e075bfa214', '/mediafiles/2023/03/19/71744f739043fc9fbc78a0e075bfa214.bmp', NULL, '2023-03-19 17:41:37', NULL, '1', '', '002003', NULL, 77407);
INSERT INTO `media_files` VALUES ('74b386417bb9f3764009dc94068a5e44', 1232141425, NULL, 'test2.html', '001003', NULL, 'mediafiles', 'course/74b386417bb9f3764009dc94068a5e44.html', '74b386417bb9f3764009dc94068a5e44', '/mediafiles/course/74b386417bb9f3764009dc94068a5e44.html', NULL, '2022-09-20 21:56:02', NULL, '1', '', '002003', NULL, 40124);
INSERT INTO `media_files` VALUES ('757891eae4473e7ba78827656b1ccacf', 1232141425, NULL, 'studyuser.png', '001001', NULL, 'mediafiles', NULL, '757891eae4473e7ba78827656b1ccacf', '/mediafiles/2022/10/13/757891eae4473e7ba78827656b1ccacf.png', NULL, '2022-10-13 19:57:01', NULL, '1', NULL, '002003', NULL, 4922);
INSERT INTO `media_files` VALUES ('76ac562669dc346992af9dd039060e7b', 1232141425, NULL, '1586385296_202a10244668f6979b3a65dd4e27dd41.jpg', '001001', NULL, 'mediafiles', '2023/03/03/76ac562669dc346992af9dd039060e7b.jpg', '76ac562669dc346992af9dd039060e7b', '/mediafiles/2023/03/03/76ac562669dc346992af9dd039060e7b.jpg', NULL, '2023-03-03 18:55:52', NULL, '1', '', '002003', NULL, 55096);
INSERT INTO `media_files` VALUES ('8026f17cf7b8697eccec2c8406d0c96c', 1232141425, NULL, 'nacos.png', '001001', NULL, 'mediafiles', '2022/10/04/8026f17cf7b8697eccec2c8406d0c96c.png', '8026f17cf7b8697eccec2c8406d0c96c', '/mediafiles/2022/10/04/8026f17cf7b8697eccec2c8406d0c96c.png', NULL, '2022-10-04 18:55:01', NULL, '1', '', '002003', NULL, 128051);
INSERT INTO `media_files` VALUES ('809694a6a974c35e3a36f36850837d7c', 1232141425, NULL, '1.avi', '001002', '课程视频', 'video', NULL, '809694a6a974c35e3a36f36850837d7c', '/video/8/0/809694a6a974c35e3a36f36850837d7c/809694a6a974c35e3a36f36850837d7c.avi', NULL, '2022-10-13 21:27:14', NULL, '1', '', '002003', NULL, NULL);
INSERT INTO `media_files` VALUES ('9835702fe0f7df8de526447b2a70db06', 1232141425, NULL, 'tmp.png', '001001', NULL, 'mediafiles', '2023/02/17/9835702fe0f7df8de526447b2a70db06.png', '9835702fe0f7df8de526447b2a70db06', '/mediafiles/2023/02/17/9835702fe0f7df8de526447b2a70db06.png', NULL, '2023-02-17 18:48:48', NULL, '1', '', '002003', NULL, 19706);
INSERT INTO `media_files` VALUES ('9f205924f8a689e76233cacd347b6b17', 1232141425, NULL, 'course8382031225643757942.html', '001003', NULL, 'mediafiles', '/course/161.html', '9f205924f8a689e76233cacd347b6b17', NULL, NULL, '2023-03-08 11:28:13', NULL, '1', '', '002003', NULL, 34030);
INSERT INTO `media_files` VALUES ('a16da7a132559daf9e1193166b3e7f52', 1232141425, NULL, '1.jpg', '001003', NULL, 'mediafiles', '2022/09/20/a16da7a132559daf9e1193166b3e7f52.jpg', 'a16da7a132559daf9e1193166b3e7f52', '/mediafiles/2022/09/20/a16da7a132559daf9e1193166b3e7f52.jpg', NULL, '2022-09-20 21:26:08', NULL, '1', '', '002003', NULL, 248329);
INSERT INTO `media_files` VALUES ('a6fb4fc7faf1d3d0831819969529b888', 1232141425, NULL, '1.项目背景.mp4', '001002', '课程视频', 'video', NULL, 'a6fb4fc7faf1d3d0831819969529b888', '/video/a/6/a6fb4fc7faf1d3d0831819969529b888/a6fb4fc7faf1d3d0831819969529b888.mp4', NULL, '2022-10-13 21:30:17', NULL, '1', '', '002003', NULL, NULL);
INSERT INTO `media_files` VALUES ('a92da96ebcf28dfe194a1e2c393dd860', 1232141425, NULL, '胶水.avi', '001002', '课程视频', 'video', 'a/9/a92da96ebcf28dfe194a1e2c393dd860/a92da96ebcf28dfe194a1e2c393dd860.avi', 'a92da96ebcf28dfe194a1e2c393dd860', NULL, NULL, '2023-03-18 19:37:32', NULL, '1', '', '002003', NULL, 1555976);
INSERT INTO `media_files` VALUES ('b2deb4a098bb12653c57bbaa0099697a', 1232141425, NULL, 'course3448922126748441722.html', '001003', NULL, 'mediafiles', 'course/117.html', 'b2deb4a098bb12653c57bbaa0099697a', '/mediafiles/course/117.html', NULL, '2022-10-04 19:20:01', NULL, '1', '', '002003', NULL, 37705);
INSERT INTO `media_files` VALUES ('c00c815ab0e77e4da33309cc2d8ab77c', 1232141425, NULL, '胶水02.mp4', '001002', '课程视频', 'video', 'c/0/c00c815ab0e77e4da33309cc2d8ab77c/c00c815ab0e77e4da33309cc2d8ab77c.mp4', 'c00c815ab0e77e4da33309cc2d8ab77c', '/video/c/0/c00c815ab0e77e4da33309cc2d8ab77c/c00c815ab0e77e4da33309cc2d8ab77c.mp4', NULL, '2023-03-18 19:37:44', NULL, '1', '', '002003', NULL, 1111984);
INSERT INTO `media_files` VALUES ('ca1d75b0a37b85fafd5f2e443f6f3f01', 1232141425, NULL, 'course2996275631019924973.html', '001003', NULL, 'mediafiles', 'course/118.html', 'ca1d75b0a37b85fafd5f2e443f6f3f01', '/mediafiles/course/118.html', NULL, '2022-10-07 06:40:51', NULL, '1', '', '002003', NULL, 35905);
INSERT INTO `media_files` VALUES ('cc82f1ef61de5a8c9cdb1aff79643eb7', 1232141425, NULL, 'CC82F1EF61DE5A8C9CDB1AFF79643EB7.mp4', '001002', '课程视频', 'video', 'c/c/cc82f1ef61de5a8c9cdb1aff79643eb7/cc82f1ef61de5a8c9cdb1aff79643eb7.mp4', 'cc82f1ef61de5a8c9cdb1aff79643eb7', '/video/c/c/cc82f1ef61de5a8c9cdb1aff79643eb7/cc82f1ef61de5a8c9cdb1aff79643eb7.mp4', NULL, '2023-02-19 16:36:26', NULL, '1', '', '002003', NULL, 2157443);
INSERT INTO `media_files` VALUES ('d4af959873182feb0fdb91dc6c1958b5', 1232141425, NULL, 'widget-5.png', '001001', '课程图片', 'mediafiles', '2022/09/18/d4af959873182feb0fdb91dc6c1958b5.png', 'd4af959873182feb0fdb91dc6c1958b5', '/mediafiles/2022/09/18/d4af959873182feb0fdb91dc6c1958b5.png', NULL, '2022-09-18 21:49:55', NULL, '1', '', '002003', NULL, 17799);
INSERT INTO `media_files` VALUES ('d8849c8a7b55c64d38a7b565ef01b9f3', 1232141425, NULL, '胶水03.mp4', '001002', '课程视频', 'video', 'd/8/d8849c8a7b55c64d38a7b565ef01b9f3/d8849c8a7b55c64d38a7b565ef01b9f3.mp4', 'd8849c8a7b55c64d38a7b565ef01b9f3', '/video/d/8/d8849c8a7b55c64d38a7b565ef01b9f3/d8849c8a7b55c64d38a7b565ef01b9f3.mp4', NULL, '2023-03-18 19:37:47', NULL, '1', '', '002003', NULL, 2625604);
INSERT INTO `media_files` VALUES ('db4e24f27d78ccac14401b7479b35c26', 1232141425, NULL, 'nonepic.jpg', '001001', NULL, 'mediafiles', '2022/09/23/db4e24f27d78ccac14401b7479b35c26.jpg', 'db4e24f27d78ccac14401b7479b35c26', '/mediafiles/2022/09/23/db4e24f27d78ccac14401b7479b35c26.jpg', NULL, '2022-09-23 18:27:26', NULL, '1', '', '002003', NULL, 6919);
INSERT INTO `media_files` VALUES ('df39983fcad83a6ceef14bfeeb1bc523', 1232141425, NULL, 'add.jpg', '001001', NULL, 'mediafiles', '2022/09/20/df39983fcad83a6ceef14bfeeb1bc523.jpg', 'df39983fcad83a6ceef14bfeeb1bc523', '/mediafiles/2022/09/20/df39983fcad83a6ceef14bfeeb1bc523.jpg', NULL, '2022-09-20 21:13:59', NULL, '1', '', '002003', NULL, 10487);
INSERT INTO `media_files` VALUES ('e00ce88f53cc391d9ffd51a81834d2af', 1232141425, NULL, 'widget-1.jpg', '001001', '课程图片', 'mediafiles', '2022/09/18/e00ce88f53cc391d9ffd51a81834d2af.jpg', 'e00ce88f53cc391d9ffd51a81834d2af', '/mediafiles/2022/09/18/e00ce88f53cc391d9ffd51a81834d2af.jpg', NULL, '2022-09-18 21:48:50', NULL, '1', '', '002003', NULL, 71386);
INSERT INTO `media_files` VALUES ('e726b71ba99c70e8c9d2850c2a7019d7', 1232141425, NULL, 'asset-login_img.jpg', '001001', NULL, 'mediafiles', '2022/09/20/e726b71ba99c70e8c9d2850c2a7019d7.jpg', 'e726b71ba99c70e8c9d2850c2a7019d7', '/mediafiles/2022/09/20/e726b71ba99c70e8c9d2850c2a7019d7.jpg', NULL, '2022-09-20 21:44:50', NULL, '1', '', '002003', NULL, 22620);
INSERT INTO `media_files` VALUES ('eb3ced53a9faabaf93268fc69986e48b', 1232141425, NULL, 'course2847244418128950753.html', '001003', NULL, 'mediafiles', '/course/164.html', 'eb3ced53a9faabaf93268fc69986e48b', NULL, NULL, '2023-03-18 19:52:17', NULL, '1', '', '002003', NULL, 34205);
INSERT INTO `media_files` VALUES ('fbb57de7001cccf1e28fbe34c7506ddc', 1232141425, NULL, 'asset-logo.png', '001001', NULL, 'mediafiles', '2022/09/20/fbb57de7001cccf1e28fbe34c7506ddc.png', 'fbb57de7001cccf1e28fbe34c7506ddc', '/mediafiles/2022/09/20/fbb57de7001cccf1e28fbe34c7506ddc.png', NULL, '2022-09-20 21:55:25', NULL, '1', '', '002003', NULL, 4355);
INSERT INTO `media_files` VALUES ('ff7941ebff525df4003843197ec7a5c8', 1232141425, NULL, 'course3991887382079582545.html', '001003', NULL, 'mediafiles', '/course/166.html', 'ff7941ebff525df4003843197ec7a5c8', NULL, NULL, '2023-04-02 23:20:48', NULL, '1', '', '002003', NULL, 34810);
-- ----------------------------
-- Table structure for media_process
-- ----------------------------
DROP TABLE IF EXISTS `media_process`;
CREATE TABLE `media_process` (
`id` bigint NOT NULL AUTO_INCREMENT,
`file_id` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件标识',
`filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件名称',
`bucket` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '存储桶',
`file_path` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '存储路径',
`status` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '状态,1:未处理,2:处理成功 3处理失败',
`create_date` datetime NOT NULL COMMENT '上传时间',
`finish_date` datetime NULL DEFAULT NULL COMMENT '完成时间',
`url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '媒资文件访问地址',
`errormsg` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '失败原因',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `unique_fileid`(`file_id` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of media_process
-- ----------------------------
-- ----------------------------
-- Table structure for media_process_history
-- ----------------------------
DROP TABLE IF EXISTS `media_process_history`;
CREATE TABLE `media_process_history` (
`id` bigint NOT NULL,
`file_id` varchar(120) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件标识',
`filename` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '文件名称',
`bucket` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '存储源',
`status` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '状态,1:未处理,2:处理成功 3处理失败',
`create_date` datetime NOT NULL COMMENT '上传时间',
`finish_date` datetime NOT NULL COMMENT '完成时间',
`url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '媒资文件访问地址',
`file_path` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件路径',
`errormsg` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '失败原因',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of media_process_history
-- ----------------------------
INSERT INTO `media_process_history` VALUES (4, 'a92da96ebcf28dfe194a1e2c393dd860', '胶水.avi', 'video', '2', '2023-02-27 22:45:37', '2023-02-27 22:46:06', '/video/a/9/a92da96ebcf28dfe194a1e2c393dd860/a92da96ebcf28dfe194a1e2c393dd860.mp4', 'a/9/a92da96ebcf28dfe194a1e2c393dd860/a92da96ebcf28dfe194a1e2c393dd860.avi', NULL);
INSERT INTO `media_process_history` VALUES (5, 'a92da96ebcf28dfe194a1e2c393dd860', '胶水.avi', 'video', '2', '2023-03-18 19:37:32', '2023-03-18 19:37:41', '/video/a/9/a92da96ebcf28dfe194a1e2c393dd860/a92da96ebcf28dfe194a1e2c393dd860.mp4', 'a/9/a92da96ebcf28dfe194a1e2c393dd860/a92da96ebcf28dfe194a1e2c393dd860.avi', NULL);
-- ----------------------------
-- Table structure for mq_message
-- ----------------------------
DROP TABLE IF EXISTS `mq_message`;
CREATE TABLE `mq_message` (
`id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息id',
`message_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息类型代码',
`business_key1` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`business_key2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`business_key3` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`mq_host` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息队列主机',
`mq_port` int NOT NULL COMMENT '消息队列端口',
`mq_virtualhost` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息队列虚拟主机',
`mq_queue` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '队列名称',
`inform_num` int UNSIGNED NOT NULL COMMENT '通知次数',
`state` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '处理状态,0:初始,1:成功',
`returnfailure_date` datetime NULL DEFAULT NULL COMMENT '回复失败时间',
`returnsuccess_date` datetime NULL DEFAULT NULL COMMENT '回复成功时间',
`returnfailure_msg` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回复失败内容',
`inform_date` datetime NULL DEFAULT NULL COMMENT '最近通知时间',
`stage_state1` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '阶段1处理状态, 0:初始,1:成功',
`stage_state2` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '阶段2处理状态, 0:初始,1:成功',
`stage_state3` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '阶段3处理状态, 0:初始,1:成功',
`stage_state4` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '阶段4处理状态, 0:初始,1:成功',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of mq_message
-- ----------------------------
INSERT INTO `mq_message` VALUES ('f29a3149-7429-40be-8a4e-9909f32003b0', 'xc.mq.msgsync.coursepub', '111', NULL, NULL, '127.0.0.1', 5607, '/', 'xc.course.publish.queue', 0, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-- ----------------------------
-- Table structure for mq_message_history
-- ----------------------------
DROP TABLE IF EXISTS `mq_message_history`;
CREATE TABLE `mq_message_history` (
`id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息id',
`message_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息类型代码',
`business_key1` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`business_key2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`business_key3` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联业务信息',
`mq_host` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息队列主机',
`mq_port` int NOT NULL COMMENT '消息队列端口',
`mq_virtualhost` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息队列虚拟主机',
`mq_queue` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '队列名称',
`inform_num` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '通知次数',
`state` int(10) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '处理状态,0:初始,1:成功,2:失败',
`returnfailure_date` datetime NULL DEFAULT NULL COMMENT '回复失败时间',
`returnsuccess_date` datetime NULL DEFAULT NULL COMMENT '回复成功时间',
`returnfailure_msg` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '回复失败内容',
`inform_date` datetime NULL DEFAULT NULL COMMENT '最近通知时间',
`stage_state1` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stage_state2` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stage_state3` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stage_state4` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
-- ----------------------------
-- Records of mq_message_history
-- ----------------------------
SET FOREIGN_KEY_CHECKS = 1;