-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwei-go.sql
283 lines (259 loc) · 42.1 KB
/
wei-go.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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 80011
Source Host : localhost:3306
Source Database : wei-go
Target Server Type : MYSQL
Target Server Version : 80011
File Encoding : 65001
Date: 2019-02-11 17:03:16
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for oauth_access_token
-- ----------------------------
DROP TABLE IF EXISTS `oauth_access_token`;
CREATE TABLE `oauth_access_token` (
`token_id` varchar(256) DEFAULT NULL,
`token` blob,
`authentication_id` varchar(256) NOT NULL,
`user_name` varchar(256) DEFAULT NULL,
`client_id` varchar(256) DEFAULT NULL,
`authentication` blob,
`refresh_token` varchar(256) DEFAULT NULL,
PRIMARY KEY (`authentication_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of oauth_access_token
-- ----------------------------
INSERT INTO `oauth_access_token` VALUES ('126c4e9696edc1c185a5caa5eae85b78', 0xACED0005737200436F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744F4175746832416363657373546F6B656E0CB29E361B24FACE0200064C00156164646974696F6E616C496E666F726D6174696F6E74000F4C6A6176612F7574696C2F4D61703B4C000A65787069726174696F6E7400104C6A6176612F7574696C2F446174653B4C000C72656672657368546F6B656E74003F4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F636F6D6D6F6E2F4F417574683252656672657368546F6B656E3B4C000573636F706574000F4C6A6176612F7574696C2F5365743B4C0009746F6B656E547970657400124C6A6176612F6C616E672F537472696E673B4C000576616C756571007E00057870737200176A6176612E7574696C2E4C696E6B6564486173684D617034C04E5C106CC0FB0200015A000B6163636573734F72646572787200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F40000000000001770800000002000000017400036A746974002434353435616364372D646166622D346366392D383235612D64653139393634343539313878007372000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000168C67CE3A3787372004C6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744578706972696E674F417574683252656672657368546F6B656E2FDF47639DD0C9B70200014C000A65787069726174696F6E71007E0002787200446F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744F417574683252656672657368546F6B656E73E10E0A6354D45E0200014C000576616C756571007E0005787074028C65794A68624763694F694A53557A49314E694973496E523563434936496B705856434A392E65794A316332567958323568625755694F694A685A47317062694973496E4E6A6233426C496A7062496D467362434A644C434A6864476B694F6949304E54513159574E6B4E79316B59575A694C54526A5A6A6B744F4449315953316B5A5445354F5459304E4455354D5467694C434A6C654841694F6A45314E5449784D444D784D444173496D463164476876636D6C306157567A496A7062496B467362434973496C4A505445566651577873496C3073496D703061534936496D4D335A6A41325A574A684C54426859324D744E47457759793034596A6C6C4C5441355A5451304E6A41775A6D553259794973496D4E7361575675644639705A434936496D466B62576C754C574E736157567564434A392E55616C79327A624650556A4D4D415F417364676379464F7A6D39656938794A6E574532634E4259373074696F4A6A56476369686B686F754F695955337A333351485648544A787171686A5142426259626B366A4B337548596A4B46384A764D3156594249676252425F55514B633067634B2D57394E5A6F7537566D713439747434727163356936754754764D3279304A3846345466723147776A695A506268714738306E61544F5264726A4F544E44656A6D32566D69416C7668395547344551506A4C7355784B5A70566A50786D6D6F744532514E6377575157315651475A6A4E65646E2D5041575654454133476C31596B6C46615F49334F547443734E656D44367763613957454D6445554973617530576D4E45417168365A474E4F624765774A532D786233517845454F42716231523552563050416F777567515479555477593962665A396364677837304D53463833745A48417371007E000C770800000169608DCEA378737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65536574801D92D18F9B80550200007872002C6A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65436F6C6C656374696F6E19420080CB5EF71E0200014C0001637400164C6A6176612F7574696C2F436F6C6C656374696F6E3B7870737200176A6176612E7574696C2E4C696E6B656448617368536574D86CD75A95DD2A1E020000787200116A6176612E7574696C2E48617368536574BA44859596B8B7340300007870770C000000103F40000000000001740003616C6C7874000662656172657274025065794A68624763694F694A53557A49314E694973496E523563434936496B705856434A392E65794A6C654841694F6A45314E446B314D54677A4D444173496E567A5A584A66626D46745A534936496D466B62576C75496977695958563061473979615852705A584D694F6C73695157787349697769556B394D525639426247776958537769616E5270496A6F694E4455304E57466A5A4463745A47466D59693030593259354C5467794E5745745A4755784F546B324E4451314F54453449697769593278705A57353058326C6B496A6F695957527461573474593278705A5735304969776963324E76634755694F6C736959577873496C31392E562D6D44395F2D793575576B64313174476C324A792D3454476668645931465438786A5372505A2D625F4732514B5F772D6C6B68394A4D574E54556B4569626A45754752333738533554537A57566A495359674D506451373979764C454D6F46466E6D76763556414D7A79546E415648334F6638383130523571663976664961666C514E726C336543417679334F6531673045303158416B62314577704A716A6F62546A337148786470675247613745686F63356A5265754B4D31575055707355526E71446455474A4B73557261786A704C733771395A334E474E67724571693354644B493138755A57764E464C6E314A39724C305A6465596D5F583171305733754232425A6F6B3479636D764A59765A567A31644341325645736D7A4F384D5738776C33495A3666464972745A4342527554627469776552795375773730375752373345465057766866356751624B436E44344867, '232dd45c7bbbd8f42a7d6ed9db939412', 'admin', 'admin-client', 0xACED0005737200416F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F417574683241757468656E7469636174696F6EBD400B02166252130200024C000D73746F7265645265717565737474003C4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F4F4175746832526571756573743B4C00127573657241757468656E7469636174696F6E7400324C6F72672F737072696E676672616D65776F726B2F73656375726974792F636F72652F41757468656E7469636174696F6E3B787200476F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E416273747261637441757468656E7469636174696F6E546F6B656ED3AA287E6E47640E0200035A000D61757468656E746963617465644C000B617574686F7269746965737400164C6A6176612F7574696C2F436F6C6C656374696F6E3B4C000764657461696C737400124C6A6176612F6C616E672F4F626A6563743B787000737200266A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654C697374FC0F2531B5EC8E100200014C00046C6973747400104C6A6176612F7574696C2F4C6973743B7872002C6A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65436F6C6C656374696F6E19420080CB5EF71E0200014C00016371007E00047870737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200426F72672E737072696E676672616D65776F726B2E73656375726974792E636F72652E617574686F726974792E53696D706C654772616E746564417574686F7269747900000000000001FE0200014C0004726F6C657400124C6A6176612F6C616E672F537472696E673B7870740003416C6C7371007E000D740008524F4C455F416C6C7871007E000C707372003A6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F41757468325265717565737400000000000000010200075A0008617070726F7665644C000B617574686F72697469657371007E00044C000A657874656E73696F6E7374000F4C6A6176612F7574696C2F4D61703B4C000B726564697265637455726971007E000E4C00077265667265736874003B4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F546F6B656E526571756573743B4C000B7265736F7572636549647374000F4C6A6176612F7574696C2F5365743B4C000D726573706F6E7365547970657371007E0016787200386F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E426173655265717565737436287A3EA37169BD0200034C0008636C69656E74496471007E000E4C001172657175657374506172616D657465727371007E00144C000573636F706571007E0016787074000C61646D696E2D636C69656E74737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654D6170F1A5A8FE74F507420200014C00016D71007E00147870737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F400000000000067708000000080000000374000A6772616E745F7479706574000870617373776F7264740008757365726E616D6574000B313832363439393930353974000573636F7065740003616C6C78737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65536574801D92D18F9B80550200007871007E0009737200176A6176612E7574696C2E4C696E6B656448617368536574D86CD75A95DD2A1E020000787200116A6176612E7574696C2E48617368536574BA44859596B8B7340300007870770C000000103F4000000000000171007E002378017371007E0027770C000000103F40000000000000787371007E001C3F40000000000000770800000010000000007870707371007E0027770C000000103F40000000000000787371007E0027770C000000103F40000000000000787372004F6F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E557365726E616D6550617373776F726441757468656E7469636174696F6E546F6B656E00000000000001FE0200024C000B63726564656E7469616C7371007E00054C00097072696E636970616C71007E00057871007E0003017371007E00077371007E000B0000000277040000000271007E000F71007E00117871007E0030737200176A6176612E7574696C2E4C696E6B6564486173684D617034C04E5C106CC0FB0200015A000B6163636573734F726465727871007E001C3F400000000000067708000000080000000371007E001E71007E001F71007E002071007E002171007E002271007E0023780070737200256E65742E7364616B652E676F2E656E7469746965732E5573657241646D696E456E74697479885B494BB2EDFC560200105A00116163636F756E744E6F6E457870697265645A00106163636F756E744E6F6E4C6F636B65645A001563726564656E7469616C734E6F6E457870697265645A0007656E61626C656449000669734C6F636B4C000B617574686F72697469657371007E00044C0005656D61696C71007E000E4C000765787054696D657400104C6A6176612F7574696C2F446174653B4C0009676D7443726561746571007E00344C000B676D744D6F64696669656471007E00344C000269647400104C6A6176612F6C616E672F4C6F6E673B4C0005697344656C71007E00344C00086E69636B6E616D6571007E000E4C000870617373776F726471007E000E4C000570686F6E6571007E000E4C0008757365726E616D6571007E000E787001010101000000007371007E000B0000000277040000000271007E000F71007E00117874000A3432334071712E636F6D707372000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000016584F48108787371007E0039770800000168AAC32008787372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000001707400007400447B6263727970747D2432612431302456567A4369666B6B6563444A4F76346279304265686555325A68736C616B4176626D76724E556430334D4E65764564732E644B704374000B313832363439393930353974000561646D696E, '7293f2c3e675af80f45418ce3189e8bb');
-- ----------------------------
-- Table structure for oauth_refresh_token
-- ----------------------------
DROP TABLE IF EXISTS `oauth_refresh_token`;
CREATE TABLE `oauth_refresh_token` (
`token_id` varchar(256) DEFAULT NULL,
`token` blob,
`authentication` blob
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of oauth_refresh_token
-- ----------------------------
INSERT INTO `oauth_refresh_token` VALUES ('012e0c9cc0036f2bbe94ec61671178a8', 0xACED00057372004C6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744578706972696E674F417574683252656672657368546F6B656E2FDF47639DD0C9B70200014C000A65787069726174696F6E7400104C6A6176612F7574696C2F446174653B787200446F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744F417574683252656672657368546F6B656E73E10E0A6354D45E0200014C000576616C75657400124C6A6176612F6C616E672F537472696E673B787074028C65794A68624763694F694A53557A49314E694973496E523563434936496B705856434A392E65794A316332567958323568625755694F694A685A47317062694973496E4E6A6233426C496A7062496D467362434A644C434A6864476B694F694A6B5A47497A4E7A566B4D6930345A47566D4C5451344D5749744F4459784D69316A4D444D314D4759785A6A566A4D7A59694C434A6C654841694F6A45314E5445324F5467794D7A5573496D463164476876636D6C306157567A496A7062496B467362434973496C4A505445566651577873496C3073496D703061534936496A4E68595467784D5442694C546C684E5467744E47566C4E4330344E3251784C5749324F4455304F54557A4E54453459534973496D4E7361575675644639705A434936496D466B62576C754C574E736157567564434A392E4C325A68415A7052337A43714F4D71535073567053437869784F457757504557536B4C79647A676D63534B4177643455346248325139315F34384F706D64616B536D46346E6A4751445944566C4D75515444654C456F4A64736F7863737773626C44503844394E357145476A2D4F64654F553878306B4E4E5951716C6B797435572D384E54684A6C64495039433159425030504748457A364D7633756C3933784B35323758453269727252515F426A5A2D7877677847707332676F476535316872486D474C7257634A5A75796A5261776B43386E6C2D4D7251586C61484171576A4E6F736D4D306A59486A544648535A695364614C394575366B4A75685A574349624452324F757A7636436647396E435F676A677763715655627350633651474675774F556E6C47394F314463543856472D354636735A725A523252326366554E75715F4B376B737961433671665538306E6F6535517372000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000169486C0E9B78, 0xACED0005737200416F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F417574683241757468656E7469636174696F6EBD400B02166252130200024C000D73746F7265645265717565737474003C4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F4F4175746832526571756573743B4C00127573657241757468656E7469636174696F6E7400324C6F72672F737072696E676672616D65776F726B2F73656375726974792F636F72652F41757468656E7469636174696F6E3B787200476F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E416273747261637441757468656E7469636174696F6E546F6B656ED3AA287E6E47640E0200035A000D61757468656E746963617465644C000B617574686F7269746965737400164C6A6176612F7574696C2F436F6C6C656374696F6E3B4C000764657461696C737400124C6A6176612F6C616E672F4F626A6563743B787000737200266A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654C697374FC0F2531B5EC8E100200014C00046C6973747400104C6A6176612F7574696C2F4C6973743B7872002C6A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65436F6C6C656374696F6E19420080CB5EF71E0200014C00016371007E00047870737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200426F72672E737072696E676672616D65776F726B2E73656375726974792E636F72652E617574686F726974792E53696D706C654772616E746564417574686F7269747900000000000001FE0200014C0004726F6C657400124C6A6176612F6C616E672F537472696E673B7870740003416C6C7371007E000D740008524F4C455F416C6C7871007E000C707372003A6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F41757468325265717565737400000000000000010200075A0008617070726F7665644C000B617574686F72697469657371007E00044C000A657874656E73696F6E7374000F4C6A6176612F7574696C2F4D61703B4C000B726564697265637455726971007E000E4C00077265667265736874003B4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F546F6B656E526571756573743B4C000B7265736F7572636549647374000F4C6A6176612F7574696C2F5365743B4C000D726573706F6E7365547970657371007E0016787200386F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E426173655265717565737436287A3EA37169BD0200034C0008636C69656E74496471007E000E4C001172657175657374506172616D657465727371007E00144C000573636F706571007E0016787074000C61646D696E2D636C69656E74737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654D6170F1A5A8FE74F507420200014C00016D71007E00147870737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C77080000001000000007740004636F64657400066D54444B504374000A6772616E745F74797065740012617574686F72697A6174696F6E5F636F646574000573636F7065740003616C6C74000D726573706F6E73655F74797065740004636F646574000C72656469726563745F75726974001B687474703A2F2F3132372E302E302E313A383038312F6C6F67696E7400057374617465740006774636395758740009636C69656E745F696471007E001978737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65536574801D92D18F9B80550200007871007E0009737200176A6176612E7574696C2E4C696E6B656448617368536574D86CD75A95DD2A1E020000787200116A6176612E7574696C2E48617368536574BA44859596B8B7340300007870770C000000103F4000000000000171007E002378017371007E002E770C000000103F40000000000000787371007E001C3F40000000000000770800000010000000007874001B687474703A2F2F3132372E302E302E313A383038312F6C6F67696E707371007E002E770C000000103F40000000000000787371007E002E770C000000103F4000000000000171007E0025787372004F6F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E557365726E616D6550617373776F726441757468656E7469636174696F6E546F6B656E00000000000001FE0200024C000B63726564656E7469616C7371007E00054C00097072696E636970616C71007E00057871007E0003017371007E00077371007E000B0000000277040000000271007E000F71007E00117871007E0038737200486F72672E737072696E676672616D65776F726B2E73656375726974792E7765622E61757468656E7469636174696F6E2E57656241757468656E7469636174696F6E44657461696C7300000000000001FE0200024C000D72656D6F74654164647265737371007E000E4C000973657373696F6E496471007E000E78707400093132372E302E302E3174002461636330353965622D656336622D346565342D396634322D61616237373838653637383270737200256E65742E7364616B652E676F2E656E7469746965732E5573657241646D696E456E74697479F303E4AB3FBFD3A70200115A00116163636F756E744E6F6E457870697265645A00106163636F756E744E6F6E4C6F636B65645A001563726564656E7469616C734E6F6E457870697265645A0007656E61626C656449000669734C6F636B4C000B5573657241646D696E49647400104C6A6176612F6C616E672F4C6F6E673B4C000B617574686F72697469657371007E00044C0005656D61696C71007E000E4C000765787054696D657400104C6A6176612F7574696C2F446174653B4C0009676D7443726561746571007E003F4C000B676D744D6F64696669656471007E003F4C0002696471007E003E4C0005697344656C71007E003F4C00086E69636B6E616D6571007E000E4C000870617373776F726471007E000E4C000570686F6E6571007E000E4C0008757365726E616D6571007E000E78700101010100000000707371007E000B0000000277040000000271007E000F71007E00117874000A3432334071712E636F6D707372000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000016584F48108787371007E0043770800000168AAC32008787372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000001707400007400447B6263727970747D2432612431302456567A4369666B6B6563444A4F76346279304265686555325A68736C616B4176626D76724E556430334D4E65764564732E644B704374000B313832363439393930353974000561646D696E);
INSERT INTO `oauth_refresh_token` VALUES ('7293f2c3e675af80f45418ce3189e8bb', 0xACED00057372004C6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744578706972696E674F417574683252656672657368546F6B656E2FDF47639DD0C9B70200014C000A65787069726174696F6E7400104C6A6176612F7574696C2F446174653B787200446F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E636F6D6D6F6E2E44656661756C744F417574683252656672657368546F6B656E73E10E0A6354D45E0200014C000576616C75657400124C6A6176612F6C616E672F537472696E673B787074028C65794A68624763694F694A53557A49314E694973496E523563434936496B705856434A392E65794A316332567958323568625755694F694A685A47317062694973496E4E6A6233426C496A7062496D467362434A644C434A6864476B694F6949304E54513159574E6B4E79316B59575A694C54526A5A6A6B744F4449315953316B5A5445354F5459304E4455354D5467694C434A6C654841694F6A45314E5449784D444D784D444173496D463164476876636D6C306157567A496A7062496B467362434973496C4A505445566651577873496C3073496D703061534936496D4D335A6A41325A574A684C54426859324D744E47457759793034596A6C6C4C5441355A5451304E6A41775A6D553259794973496D4E7361575675644639705A434936496D466B62576C754C574E736157567564434A392E55616C79327A624650556A4D4D415F417364676379464F7A6D39656938794A6E574532634E4259373074696F4A6A56476369686B686F754F695955337A333351485648544A787171686A5142426259626B366A4B337548596A4B46384A764D3156594249676252425F55514B633067634B2D57394E5A6F7537566D713439747434727163356936754754764D3279304A3846345466723147776A695A506268714738306E61544F5264726A4F544E44656A6D32566D69416C7668395547344551506A4C7355784B5A70566A50786D6D6F744532514E6377575157315651475A6A4E65646E2D5041575654454133476C31596B6C46615F49334F547443734E656D44367763613957454D6445554973617530576D4E45417168365A474E4F624765774A532D786233517845454F42716231523552563050416F777567515479555477593962665A396364677837304D53463833745A48417372000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000169608DCEA378, 0xACED0005737200416F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F417574683241757468656E7469636174696F6EBD400B02166252130200024C000D73746F7265645265717565737474003C4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F4F4175746832526571756573743B4C00127573657241757468656E7469636174696F6E7400324C6F72672F737072696E676672616D65776F726B2F73656375726974792F636F72652F41757468656E7469636174696F6E3B787200476F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E416273747261637441757468656E7469636174696F6E546F6B656ED3AA287E6E47640E0200035A000D61757468656E746963617465644C000B617574686F7269746965737400164C6A6176612F7574696C2F436F6C6C656374696F6E3B4C000764657461696C737400124C6A6176612F6C616E672F4F626A6563743B787000737200266A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654C697374FC0F2531B5EC8E100200014C00046C6973747400104C6A6176612F7574696C2F4C6973743B7872002C6A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65436F6C6C656374696F6E19420080CB5EF71E0200014C00016371007E00047870737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000002770400000002737200426F72672E737072696E676672616D65776F726B2E73656375726974792E636F72652E617574686F726974792E53696D706C654772616E746564417574686F7269747900000000000001FE0200014C0004726F6C657400124C6A6176612F6C616E672F537472696E673B7870740003416C6C7371007E000D740008524F4C455F416C6C7871007E000C707372003A6F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E4F41757468325265717565737400000000000000010200075A0008617070726F7665644C000B617574686F72697469657371007E00044C000A657874656E73696F6E7374000F4C6A6176612F7574696C2F4D61703B4C000B726564697265637455726971007E000E4C00077265667265736874003B4C6F72672F737072696E676672616D65776F726B2F73656375726974792F6F61757468322F70726F76696465722F546F6B656E526571756573743B4C000B7265736F7572636549647374000F4C6A6176612F7574696C2F5365743B4C000D726573706F6E7365547970657371007E0016787200386F72672E737072696E676672616D65776F726B2E73656375726974792E6F61757468322E70726F76696465722E426173655265717565737436287A3EA37169BD0200034C0008636C69656E74496471007E000E4C001172657175657374506172616D657465727371007E00144C000573636F706571007E0016787074000C61646D696E2D636C69656E74737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C654D6170F1A5A8FE74F507420200014C00016D71007E00147870737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F400000000000067708000000080000000374000A6772616E745F7479706574000870617373776F7264740008757365726E616D6574000B313832363439393930353974000573636F7065740003616C6C78737200256A6176612E7574696C2E436F6C6C656374696F6E7324556E6D6F6469666961626C65536574801D92D18F9B80550200007871007E0009737200176A6176612E7574696C2E4C696E6B656448617368536574D86CD75A95DD2A1E020000787200116A6176612E7574696C2E48617368536574BA44859596B8B7340300007870770C000000103F4000000000000171007E002378017371007E0027770C000000103F40000000000000787371007E001C3F40000000000000770800000010000000007870707371007E0027770C000000103F40000000000000787371007E0027770C000000103F40000000000000787372004F6F72672E737072696E676672616D65776F726B2E73656375726974792E61757468656E7469636174696F6E2E557365726E616D6550617373776F726441757468656E7469636174696F6E546F6B656E00000000000001FE0200024C000B63726564656E7469616C7371007E00054C00097072696E636970616C71007E00057871007E0003017371007E00077371007E000B0000000277040000000271007E000F71007E00117871007E0030737200176A6176612E7574696C2E4C696E6B6564486173684D617034C04E5C106CC0FB0200015A000B6163636573734F726465727871007E001C3F400000000000067708000000080000000371007E001E71007E001F71007E002071007E002171007E002271007E0023780070737200256E65742E7364616B652E676F2E656E7469746965732E5573657241646D696E456E74697479885B494BB2EDFC560200105A00116163636F756E744E6F6E457870697265645A00106163636F756E744E6F6E4C6F636B65645A001563726564656E7469616C734E6F6E457870697265645A0007656E61626C656449000669734C6F636B4C000B617574686F72697469657371007E00044C0005656D61696C71007E000E4C000765787054696D657400104C6A6176612F7574696C2F446174653B4C0009676D7443726561746571007E00344C000B676D744D6F64696669656471007E00344C000269647400104C6A6176612F6C616E672F4C6F6E673B4C0005697344656C71007E00344C00086E69636B6E616D6571007E000E4C000870617373776F726471007E000E4C000570686F6E6571007E000E4C0008757365726E616D6571007E000E787001010101000000007371007E000B0000000277040000000271007E000F71007E00117874000A3432334071712E636F6D707372000E6A6176612E7574696C2E44617465686A81014B597419030000787077080000016584F48108787371007E0039770800000168AAC32008787372000E6A6176612E6C616E672E4C6F6E673B8BE490CC8F23DF0200014A000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000000000001707400007400447B6263727970747D2432612431302456567A4369666B6B6563444A4F76346279304265686555325A68736C616B4176626D76724E556430334D4E65764564732E644B704374000B313832363439393930353974000561646D696E);
-- ----------------------------
-- Table structure for spring_session
-- ----------------------------
DROP TABLE IF EXISTS `spring_session`;
CREATE TABLE `spring_session` (
`PRIMARY_ID` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`SESSION_ID` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`CREATION_TIME` bigint(20) NOT NULL,
`LAST_ACCESS_TIME` bigint(20) NOT NULL,
`MAX_INACTIVE_INTERVAL` int(11) NOT NULL,
`EXPIRY_TIME` bigint(20) NOT NULL,
`PRINCIPAL_NAME` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
PRIMARY KEY (`PRIMARY_ID`),
UNIQUE KEY `SPRING_SESSION_IX1` (`SESSION_ID`) USING BTREE,
KEY `SPRING_SESSION_IX2` (`EXPIRY_TIME`) USING BTREE,
KEY `SPRING_SESSION_IX3` (`PRINCIPAL_NAME`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of spring_session
-- ----------------------------
-- ----------------------------
-- Table structure for spring_session_attributes
-- ----------------------------
DROP TABLE IF EXISTS `spring_session_attributes`;
CREATE TABLE `spring_session_attributes` (
`SESSION_PRIMARY_ID` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`ATTRIBUTE_NAME` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`ATTRIBUTE_BYTES` blob NOT NULL,
PRIMARY KEY (`SESSION_PRIMARY_ID`,`ATTRIBUTE_NAME`),
CONSTRAINT `spring_session_attributes_ibfk_1` FOREIGN KEY (`SESSION_PRIMARY_ID`) REFERENCES `spring_session` (`primary_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of spring_session_attributes
-- ----------------------------
-- ----------------------------
-- Table structure for wg_menu
-- ----------------------------
DROP TABLE IF EXISTS `wg_menu`;
CREATE TABLE `wg_menu` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`pid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '此表的父级ID',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '菜单名称',
`icon` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT 'fa fa-caret-right' COMMENT '菜单图标',
`url` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '请求路径',
`auth_url` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '授权路径规则',
`http_method` tinyint(2) NOT NULL DEFAULT '1' COMMENT 'HTTP请求类型:1-GET,2-POST,3-PUT,4-DELETE,5-HEAD,6-OPTIONS,7-TRACE,8-PATCH',
`param` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '参数',
`type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '菜单类型:1后台菜单,2前台菜单',
`menu_type` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '菜单类型;1:有界面可访问菜单,2:无界面可访问菜单,0:只作为菜单,3只作为分组标题',
`status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态;1:显示,0:不显示',
`list_order` float NOT NULL DEFAULT '1000' COMMENT '排序',
`remark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '备注',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
`is_del` datetime DEFAULT NULL COMMENT '是否删除,否为null,是为时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='后台菜单表';
-- ----------------------------
-- Records of wg_menu
-- ----------------------------
INSERT INTO `wg_menu` VALUES ('1', '0', '系统菜单', 'fa fa-caret-right', '/admin/default', '/admin/default', '1', '', '1', '0', '0', '1000', '', '2018-08-27 09:54:30', '2018-09-01 08:33:09', null);
INSERT INTO `wg_menu` VALUES ('2', '1', '后台管理', 'fa fa-caret-right', '/admin/default', '/admin/default1', '1', '', '1', '0', '1', '1000', '', '2018-08-31 09:31:51', '2018-12-18 13:30:31', null);
INSERT INTO `wg_menu` VALUES ('3', '2', '管理组', 'fa fa-caret-right', '/admin/default', '/admin/default', '1', '', '1', '0', '1', '1000', '', '2018-08-31 09:32:42', '2018-08-31 09:36:29', null);
INSERT INTO `wg_menu` VALUES ('4', '2', '后台菜单', 'fa fa-caret-right', '/admin/menus', '/admin/menus', '1', '', '1', '1', '1', '1000', '', '2018-08-31 09:33:31', '2018-08-31 15:02:30', null);
INSERT INTO `wg_menu` VALUES ('5', '3', '角色管理', 'fa fa-caret-right', '/admin/roles', '/admin/roles/**', '1', '', '1', '1', '1', '1000', '', '2018-08-31 09:34:24', '2018-09-08 11:14:14', null);
INSERT INTO `wg_menu` VALUES ('6', '3', '管理员', 'fa fa-caret-right', '/admin/userAdmins', '/admin/userAdmins', '1', '', '1', '1', '1', '1000', '', '2018-08-31 09:35:22', '2018-08-31 09:37:16', null);
INSERT INTO `wg_menu` VALUES ('7', '4', '后台菜单添加', 'fa fa-caret-right', '/admin/menu', '后台菜单', '2', '', '1', '2', '0', '10', '', '2018-08-31 16:57:12', '2018-09-03 11:58:49', null);
INSERT INTO `wg_menu` VALUES ('8', '4', '后台菜单编辑', 'fa fa-caret-right', '/admin/menu', '/admin/menu', '3', '', '1', '2', '0', '20', '', '2018-08-31 16:58:45', '2018-09-03 11:59:02', null);
INSERT INTO `wg_menu` VALUES ('9', '4', '后台菜单删除', 'fa fa-caret-right', '/admin/menu', '/admin/menu', '4', '', '1', '0', '0', '30', '', '2018-08-31 17:00:03', '2018-09-03 11:59:12', null);
INSERT INTO `wg_menu` VALUES ('10', '5', '角色添加', 'fa fa-caret-right', '/admin/role', '/admin/role', '2', '', '1', '0', '0', '10', '', '2018-08-31 17:02:32', '2018-09-03 11:56:51', null);
INSERT INTO `wg_menu` VALUES ('11', '5', '角色编辑', 'fa fa-caret-right', '/admin/role', '/admin/role', '3', '', '1', '0', '0', '20', '', '2018-08-31 17:05:08', '2018-09-03 11:57:40', null);
INSERT INTO `wg_menu` VALUES ('12', '5', '角色删除', 'fa fa-caret-right', '/admin/role', '/admin/role', '4', '', '1', '0', '0', '30', '', '2018-08-31 17:06:36', '2018-09-03 11:57:28', null);
INSERT INTO `wg_menu` VALUES ('13', '6', '管理员添加', 'fa fa-caret-right', '/admin/userAdmin', '/admin/userAdmin', '2', '', '1', '0', '0', '10', '', '2018-08-31 17:11:49', '2018-09-03 11:58:10', null);
INSERT INTO `wg_menu` VALUES ('14', '6', '管理员编辑', 'fa fa-caret-right', '/admin/userAdmin', '/admin/userAdmin', '3', '', '1', '0', '0', '20', '', '2018-08-31 17:12:46', '2018-09-03 11:58:24', null);
INSERT INTO `wg_menu` VALUES ('15', '6', '管理员删除', 'fa fa-caret-right', '/admin/userAdmin', '/admin/userAdmin', '4', '', '1', '0', '0', '30', '', '2018-08-31 17:13:13', '2018-09-03 11:58:36', null);
INSERT INTO `wg_menu` VALUES ('16', '4', '打开添加菜单', 'fa fa-caret-right', '/admin/addMenu', '/admin/addMenu/*', '1', '', '1', '0', '0', '1000', '', '2018-12-24 18:27:25', '2018-12-24 21:21:25', null);
INSERT INTO `wg_menu` VALUES ('17', '6', '打开管理员添加', 'fa fa-caret-right', '/admin/addUserAdmin', '/admin/addUserAdmin/**', '1', '', '1', '0', '0', '1000', '', '2018-12-24 18:54:13', '2018-12-24 18:54:13', null);
INSERT INTO `wg_menu` VALUES ('18', '6', '获取一个用户', 'fa fa-caret-right', '/admin/userAdmin', '/admin/userAdmin/**', '1', '', '1', '0', '0', '1000', '', '2018-12-24 18:58:03', '2018-12-24 18:58:03', null);
INSERT INTO `wg_menu` VALUES ('19', '5', '获取一个角色', 'fa fa-caret-right', '/admin/role', '/admin/role/**', '1', '', '1', '0', '0', '1000', '', '2018-12-24 19:01:42', '2018-12-24 19:01:42', null);
INSERT INTO `wg_menu` VALUES ('20', '4', '获取一个菜单', 'fa fa-caret-right', '/admin/menu', '/admin/menu/**', '1', '', '1', '0', '0', '1000', '', '2018-12-24 21:06:34', '2018-12-24 21:06:34', null);
INSERT INTO `wg_menu` VALUES ('21', '5', '获取角色的权限', 'fa fa-caret-right', '/admin/role/auth', '/admin/role/auth/*', '1', '', '1', '0', '0', '1000', '', '2018-12-26 18:45:57', '2018-12-26 18:47:49', null);
INSERT INTO `wg_menu` VALUES ('22', '5', '设置角色权限', 'fa fa-caret-right', '/admin/role/auth', '/admin/role/auth', '2', '', '1', '0', '0', '1000', '', '2018-12-26 18:47:06', '2018-12-26 18:47:06', null);
INSERT INTO `wg_menu` VALUES ('23', '4', '菜单排序', 'fa fa-caret-right', '/admin/menu/order', '/admin/menu/order', '2', '', '1', '0', '0', '1000', '', '2018-12-26 18:51:57', '2018-12-26 18:51:57', null);
-- ----------------------------
-- Table structure for wg_role
-- ----------------------------
DROP TABLE IF EXISTS `wg_role`;
CREATE TABLE `wg_role` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`role_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '角色名称',
`status` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '状态,0不可用,1正常',
`remark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '备注',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
`is_del` datetime DEFAULT NULL COMMENT '是否删除,否为null,是为时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='角色表';
-- ----------------------------
-- Records of wg_role
-- ----------------------------
INSERT INTO `wg_role` VALUES ('1', '超级管理员', '1', '超级管理员拥有网站最高权限', '2018-08-24 11:07:36', '2018-08-24 11:07:36', null);
INSERT INTO `wg_role` VALUES ('3', 'admin2', '1', '', '2018-08-31 10:16:44', '2018-08-31 10:16:44', null);
INSERT INTO `wg_role` VALUES ('4', 'admin3', '1', '', '2018-12-24 21:35:11', '2018-12-24 21:35:11', null);
-- ----------------------------
-- Table structure for wg_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `wg_role_menu`;
CREATE TABLE `wg_role_menu` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`menu_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '菜单表id',
`role_id` bigint(20) unsigned NOT NULL COMMENT '角色表ID',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='角色授权表';
-- ----------------------------
-- Records of wg_role_menu
-- ----------------------------
INSERT INTO `wg_role_menu` VALUES ('20', '2', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('21', '3', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('22', '5', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('23', '10', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('24', '11', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('25', '12', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('26', '6', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('27', '13', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('28', '14', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('29', '15', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('30', '4', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('31', '7', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('32', '8', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('33', '9', '1', '2018-09-03 09:00:14');
INSERT INTO `wg_role_menu` VALUES ('51', '1', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('52', '2', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('53', '4', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('54', '7', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('55', '8', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('56', '9', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('57', '16', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('58', '20', '3', '2018-12-24 21:07:16');
INSERT INTO `wg_role_menu` VALUES ('59', '1', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('60', '2', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('61', '4', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('62', '7', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('63', '8', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('64', '9', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('65', '16', '4', '2018-12-24 21:35:47');
INSERT INTO `wg_role_menu` VALUES ('66', '20', '4', '2018-12-24 21:35:47');
-- ----------------------------
-- Table structure for wg_role_user_admin
-- ----------------------------
DROP TABLE IF EXISTS `wg_role_user_admin`;
CREATE TABLE `wg_role_user_admin` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`role_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`user_admin_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `role_id` (`role_id`) USING BTREE,
KEY `user_id` (`user_admin_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COMMENT='用户拥有的权限= userAdmin + role 表';
-- ----------------------------
-- Records of wg_role_user_admin
-- ----------------------------
INSERT INTO `wg_role_user_admin` VALUES ('11', '1', '1', '2018-09-03 08:59:09');
INSERT INTO `wg_role_user_admin` VALUES ('30', '3', '3', '2018-12-25 19:59:28');
INSERT INTO `wg_role_user_admin` VALUES ('31', '4', '3', '2018-12-25 19:59:28');
-- ----------------------------
-- Table structure for wg_users
-- ----------------------------
DROP TABLE IF EXISTS `wg_users`;
CREATE TABLE `wg_users` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '姓名',
`nickname` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '昵称',
`phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '手机号',
`email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '邮箱',
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`sex` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '性别: 1 男 2 女',
`openid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT 'openid',
`state` tinyint(1) unsigned DEFAULT '0' COMMENT '状态:0禁用,1正常',
`head_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '微信头像',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
`is_del` datetime DEFAULT NULL COMMENT '是否删除,否为null,是为时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户表';
-- ----------------------------
-- Records of wg_users
-- ----------------------------
INSERT INTO `wg_users` VALUES ('1', '', '', '18264999059', '', '{bcrypt}$2a$10$VVzCifkkecDJOv4by0BeheU2ZhslakAvbmvrNUd03MNevEds.dKpC', '0', '', '0', '', '2019-01-26 15:13:30', '2019-01-26 15:13:30', null);
-- ----------------------------
-- Table structure for wg_user_admin
-- ----------------------------
DROP TABLE IF EXISTS `wg_user_admin`;
CREATE TABLE `wg_user_admin` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`nickname` varchar(20) NOT NULL DEFAULT '' COMMENT '昵称',
`username` varchar(20) NOT NULL DEFAULT '' COMMENT '用户名',
`password` varchar(100) NOT NULL DEFAULT '' COMMENT '密码',
`phone` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号码',
`email` varchar(50) NOT NULL DEFAULT '' COMMENT '邮箱',
`head_photo` varchar(255) NOT NULL DEFAULT '' COMMENT '头像',
`sex` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '性别:1男,2女',
`is_lock` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否锁定用户:1是,0否',
`exp_time` datetime DEFAULT NULL COMMENT '过期时间',
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后修改时间',
`is_del` datetime DEFAULT NULL COMMENT '是否删除,否为null,是为时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='后台用户';
-- ----------------------------
-- Records of wg_user_admin
-- ----------------------------
INSERT INTO `wg_user_admin` VALUES ('1', '', 'admin', '{bcrypt}$2a$10$VVzCifkkecDJOv4by0BeheU2ZhslakAvbmvrNUd03MNevEds.dKpC', '18264999059', '423@qq.com', '', '1', '0', null, '2018-08-29 09:12:21', '2019-02-01 20:32:21', null);
INSERT INTO `wg_user_admin` VALUES ('2', '', 'admin2', '{bcrypt}$2a$10$VVzCifkkecDJOv4by0BeheU2ZhslakAvbmvrNUd03MNevEds.dKpC', '13256818918', '423@qq.com', '', '1', '0', null, '2018-08-29 09:12:21', '2018-09-10 09:20:18', null);