forked from netcccyun/toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sql
233 lines (214 loc) · 18.3 KB
/
install.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
DROP TABLE IF EXISTS `toolbox_category`;
CREATE TABLE `toolbox_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL COMMENT '标题',
`icon` varchar(40) DEFAULT NULL,
`weight` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`enable` tinyint(1) NOT NULL DEFAULT '1',
`create_time` datetime NOT NULL COMMENT '安装时间',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `toolbox_category` (`id`, `title`, `icon`, `weight`, `enable`, `create_time`, `update_time`) VALUES
(1, '站长工具', 'icon ni ni-setting', 9, 1, '2022-04-17 17:55:20', '2022-04-23 20:03:41'),
(2, '开发工具', 'icon ni ni-code', 8, 1, '2022-04-17 17:55:28', '2022-04-23 20:03:33'),
(3, '实用工具', 'icon ni ni-map', 7, 1, '2022-04-17 17:55:38', '2022-04-23 14:40:49'),
(4, '娱乐工具', 'icon ni ni-aperture', 5, 1, '2022-04-17 17:55:45', '2022-05-18 15:49:11'),
(5, 'QQ工具', 'icon ni ni-chat-circle-fill', 6, 1, '2022-05-18 15:48:31', '2022-05-18 15:52:57');
DROP TABLE IF EXISTS `toolbox_comment`;
CREATE TABLE `toolbox_comment` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`email` varchar(255) DEFAULT NULL,
`ip` varchar(20) DEFAULT NULL,
`content` text,
`reply` text,
`enable` tinyint(1) NOT NULL DEFAULT '0',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_time` datetime NOT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `toolbox_config`;
CREATE TABLE `toolbox_config` (
`key` varchar(32) NOT NULL COMMENT '标题',
`value` TEXT DEFAULT NULL COMMENT '值',
PRIMARY KEY (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `toolbox_config` (`key`, `value`) VALUES
('admin_password', ''),
('admin_username', ''),
('captcha_id', ''),
('captcha_key', ''),
('ip_type', '0'),
('cdn_cdnjs', '//lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/'),
('cdn_npm', 'https://unpkg.com/'),
('description', '这是一个非常Nice的在线工具箱'),
('foot_code', ''),
('keywords', '彩虹工具网,源码查看器原创,在线,工具'),
('oauth_appid', '1000'),
('oauth_appkey', ''),
('oauth_appurl', ''),
('oauth_openqq', '1'),
('oauth_openwx', '1'),
('subtitle', '免费手机工具 站长工具 源代码查看器'),
('syskey', ''),
('template', 'default'),
('title', '彩虹工具网');
DROP TABLE IF EXISTS `toolbox_link`;
CREATE TABLE `toolbox_link` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(120) NOT NULL COMMENT '链接文字',
`url` varchar(255) NOT NULL COMMENT '链接地址',
`weight` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`enable` tinyint(1) NOT NULL DEFAULT '0' COMMENT '链接状态',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_time` datetime NOT NULL COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `toolbox_link` (`id`, `name`, `url`, `weight`, `enable`, `create_time`, `update_time`) VALUES
(1, '彩虹云主机', 'https://www.cccyun.net/', 8, 1, '2022-04-21 22:24:16', '2022-04-22 22:01:01'),
(2, '缤纷彩虹天地', 'https://blog.cccyun.cn/', 9, 1, '2022-04-22 22:00:37', '2022-05-04 17:06:11'),
(4, '彩虹聚合登录', 'https://u.cccyun.cc/', 4, 1, '2022-04-22 22:02:06', '2022-04-22 22:02:06'),
(5, '彩虹网址导航', 'http://www.cccyun.cn/', 7, 1, '2022-05-04 17:06:23', '2022-05-04 17:09:23');
DROP TABLE IF EXISTS `toolbox_plugin`;
CREATE TABLE `toolbox_plugin` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL COMMENT '插件标题',
`alias` varchar(128) NOT NULL COMMENT '插件名',
`class` varchar(128) NOT NULL COMMENT '插件类',
`keyword` varchar(255) DEFAULT NULL,
`weight` int(11) NOT NULL DEFAULT '0' COMMENT '权重',
`enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否启用',
`level` int(11) NOT NULL DEFAULT '0',
`login` tinyint(1) NOT NULL DEFAULT '0',
`request_count` int(11) NOT NULL DEFAULT '0' COMMENT '接口请求次数',
`category_id` int(11) NOT NULL DEFAULT '0' COMMENT '分类',
`desc` text,
`create_time` datetime NOT NULL COMMENT '安装时间',
`update_time` datetime NOT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `alias` (`alias`),
UNIQUE KEY `class` (`class`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `toolbox_plugin` (`id`, `title`, `alias`, `class`, `keyword`, `weight`, `enable`, `level`, `login`, `request_count`, `category_id`, `desc`, `create_time`, `update_time`) VALUES
(2, '随机密码生成', 'rand_password', 'utility\\rand_password', 'suijimimashengcheng,sjmmsc', 86, 1, 0, 0, 0, 3, '', '2022-04-17 17:54:49', '2022-05-04 17:27:36'),
(3, '支付宝到账语音', 'alipay_arrival', 'fun\\alipay_arrival', 'zhifubaodaozhangyuyin,zfbdzyy', 7, 1, 0, 0, 0, 4, '', '2022-04-17 18:09:43', '2022-05-04 17:29:50'),
(5, '让流量消失', 'bandwidth_waste', 'fun\\bandwidth_waste', 'rangliuliangxiaoshi,rllxs', 6, 1, 0, 0, 0, 4, '', '2022-04-17 18:10:15', '2022-05-04 17:29:53'),
(13, 'emoji表情', 'emoji', 'utility\\emoji', 'emojibiaoqing,emojibq', 79, 1, 0, 0, 0, 3, '', '2022-04-21 17:51:49', '2022-05-04 17:28:09'),
(19, 'CSS格式化/压缩', 'code_css', 'dev\\code_css', 'cssgeshihuayasuo,cssgshys', 87, 1, 0, 0, 0, 2, '', '2022-04-25 10:59:11', '2022-05-04 17:25:00'),
(20, 'Html格式化/压缩', 'code_html', 'dev\\code_html', 'htmlgeshihuayasuo,htmlgshys', 88, 1, 0, 0, 0, 2, '', '2022-04-25 14:52:26', '2022-05-04 17:24:56'),
(21, 'JavaScript格式化/压缩', 'code_js', 'dev\\code_js', 'javascriptgeshihuayasuo,jsgshys', 89, 1, 0, 0, 0, 2, '', '2022-04-25 15:05:53', '2022-05-04 17:24:53'),
(22, '字节计算器', 'byte_calc', 'dev\\byte_calc', 'zijiejisuanqi,zjjsq', 98, 1, 0, 0, 0, 2, '', '2022-04-25 15:28:28', '2022-05-04 17:23:24'),
(23, '文章生成器', 'bullshit_generator', 'fun\\bullshit_generator', 'wenzhangshengchengqi,wzscq', 8, 1, 0, 0, 0, 4, '', '2022-04-25 15:51:35', '2022-05-04 17:29:49'),
(24, 'base64编码/解码', 'base64', 'dev\\base64', 'base64bianmajiema,base64bmjm', 0, 1, 0, 0, 0, 2, '', '2022-04-25 16:14:16', '2022-04-25 16:14:16'),
(25, 'ASCII艺术字生成', 'ascii_art', 'fun\\ascii_art', 'asciiyishuzishengcheng,asciiyszsc', 9, 1, 0, 0, 0, 4, '', '2022-04-25 16:30:03', '2022-05-04 17:29:42'),
(26, '对称加密解密', 'encrypt', 'dev\\encrypt', 'duichenjiamijiemi,dcjmjm', 94, 1, 0, 0, 0, 2, '', '2022-04-26 16:53:45', '2022-05-04 17:24:28'),
(27, '文件哈希计算', 'file_hash', 'utility\\file_hash', 'wenjianhaxijisuan,wenjianhashjisuan,wjhxjs', 84, 1, 0, 0, 0, 2, '', '2022-04-26 17:50:55', '2022-10-21 17:38:34'),
(28, 'GitHub下载加速', 'github', 'dev\\github', 'github,xiazaijiasu,xzjs', 96, 1, 0, 0, 0, 2, '', '2022-04-27 16:43:06', '2022-05-04 17:23:49'),
(29, '聚合高速图床', 'imghosting', 'utility\\imghosting', 'qqbaidugaosutuchuang,qqbdgstc', 99, 1, 0, 0, 1, 3, '', '2022-04-27 17:21:50', '2023-05-20 21:06:21'),
(31, '网站Favicon获取', 'favicon', 'web\\favicon', 'wangzhanfaviconhuoqu,wzfaviconhq', 92, 1, 0, 0, 0, 1, '', '2022-04-28 19:01:36', '2022-05-04 17:22:01'),
(32, '字符串哈希计算', 'str_hash', 'utility\\str_hash', 'zifuchuanhaxijisuan,zfchxjs', 84, 1, 0, 0, 0, 2, '', '2022-04-29 18:12:57', '2022-05-04 17:27:44'),
(33, '在线进制转换', 'hex_convert', 'dev\\hex_convert', 'zaixianjinzhizhuanhuan,zxjzzh', 97, 1, 0, 0, 0, 2, '', '2022-04-29 19:19:26', '2022-05-04 17:24:15'),
(34, 'ICP备案查询', 'icp', 'web\\icp', 'icpbeianchaxun,icpbacx', 97, 1, 0, 0, 0, 1, '', '2022-04-30 16:49:34', '2022-05-04 17:21:39'),
(35, 'IP地址查询', 'ip', 'web\\ip', 'ipdizhichaxun,ipquery,ipdzcx', 98, 1, 0, 0, 0, 1, '', '2022-05-01 10:41:15', '2022-05-04 17:21:37'),
(36, '域名Whois查询', 'whois', 'web\\whois', 'yumingwhoischaxun,ymwhoiscx', 96, 1, 0, 0, 0, 1, '', '2022-05-02 10:40:21', '2022-05-04 17:21:42'),
(37, '在线图片编辑', 'image_editor', 'utility\\image_editor', 'zaixiantupianbianji,zxtpbj', 64, 1, 0, 0, 0, 3, '', '2022-05-02 11:42:03', '2022-10-21 17:37:48'),
(38, '图片转base64', 'image2base64', 'utility\\image2base64', 'tupianzhuanbase64,tpzbase64', 87, 1, 0, 0, 0, 2, '', '2022-05-02 12:09:00', '2022-05-04 17:27:29'),
(39, 'JSON解析格式化', 'json', 'dev\\json', 'jsonjiexigeshihua,jsonjxgsh', 90, 1, 0, 0, 0, 2, '', '2022-05-02 12:44:30', '2022-05-04 17:24:51'),
(40, 'Linux命令查询', 'linux_command', 'dev\\linux_command', 'linuxminglingchaxun,linuxmlcx', 91, 1, 0, 0, 0, 2, '', '2022-05-02 14:52:25', '2022-05-04 17:24:45'),
(41, 'Markdown在线编辑', 'markdown', 'dev\\markdown', 'markdownzaixianbianji,markdownzxbj', 92, 1, 0, 0, 0, 2, '', '2022-05-02 16:42:06', '2022-05-04 17:24:42'),
(42, 'MimeType类型表', 'mime_type', 'dev\\mime_type', 'mimetypeleixingbiao,mimetypelxb', 85, 1, 0, 0, 0, 2, '', '2022-05-02 16:50:24', '2022-05-04 17:25:07'),
(43, '在线钢琴', 'piano', 'fun\\piano', 'zaixiangangqin,piano,zxgq', 5, 1, 0, 0, 0, 4, '', '2022-05-02 17:03:13', '2022-05-04 17:29:54'),
(44, '二维码生成', 'qrcode', 'utility\\qrcode', 'erweimashengcheng,ewmsc,qrcode', 87, 1, 0, 0, 0, 3, '', '2022-05-02 17:12:05', '2022-10-21 17:36:31'),
(45, 'RSA公私钥生成', 'rsa', 'dev\\rsa', 'rsagongsiyueshengcheng,rsagsysc', 95, 1, 0, 0, 0, 2, '', '2022-05-02 17:43:38', '2022-05-04 17:24:08'),
(46, '短网址生成', 'short_url', 'utility\\short_url', 'duanwangzhishengcheng,shorturl,dwzsc', 83, 1, 0, 0, 0, 3, '', '2022-05-02 18:24:35', '2022-05-04 17:27:54'),
(47, '特殊符号大全', 'special_symbols', 'utility\\special_symbols', 'teshufuhaodaquan,tsfhdq', 78, 1, 0, 0, 0, 3, '', '2022-05-02 20:22:10', '2022-05-04 17:28:11'),
(48, '在线语音合成', 'speech_synthesis', 'fun\\speech_synthesis', 'zaixianyuyinhecheng,zxyyhc', 10, 1, 0, 0, 0, 4, '', '2022-05-02 20:25:56', '2022-05-04 17:29:40'),
(49, '字数统计与排版', 'text_count', 'utility\\text_count', 'zishutongjiyupaiban,zstjypb', 77, 1, 0, 0, 0, 3, '', '2022-05-02 20:49:16', '2023-09-28 15:30:34'),
(50, 'Unix时间戳转换', 'timestamp', 'utility\\timestamp', 'unixshijianchuozhuanhuan,unixsjczh', 82, 1, 0, 0, 0, 2, '', '2022-05-03 09:29:08', '2022-05-04 17:27:57'),
(51, 'UUID生成器', 'uuid', 'dev\\uuid', 'uuidshengchengqi,guid,uuidscq', 93, 1, 0, 0, 0, 2, '', '2022-05-03 15:48:04', '2022-05-04 17:24:35'),
(52, '中文简繁体转化', 'zh_convert', 'utility\\zh_convert', 'zhongwenjianfantizhuanhua,zwjftzh', 80, 1, 0, 0, 0, 3, '', '2022-05-03 16:16:50', '2022-05-04 17:28:02'),
(53, '中文域名转码', 'punycode', 'web\\punycode', 'zhongwenyumingzhuanma,zwymzm,punycode', 91, 1, 0, 0, 0, 1, '', '2022-05-03 16:25:30', '2022-05-04 17:22:04'),
(54, '编码解码器', 'decode', 'dev\\decode', 'bianmajiemaqi,bmjmq', 99, 1, 0, 0, 0, 2, '', '2022-05-03 17:15:14', '2022-05-04 17:23:20'),
(55, '腾讯域名拦截查询', 'checkurl', 'web\\checkurl', 'yuminglanjiechaxun,ymljcx', 94, 1, 0, 0, 0, 1, '', '2022-05-03 18:31:42', '2023-09-28 15:28:07'),
(57, '手机在线FTP', 'http://ftp.cccyun.cc/', 'web\\ftp', 'shoujizaixianftp,sjzxftp', 89, 1, 0, 0, 0, 1, '', '2022-05-03 20:01:40', '2022-05-04 17:22:18'),
(58, 'MySQL管理器', '/tool/mysql/', 'web\\mysql', 'mysqlguanliqi,mysqlglq', 90, 1, 0, 0, 0, 1, '', '2022-05-03 20:05:08', '2022-05-04 17:22:15'),
(59, '百度BDUSS获取', '/tool/bduss/', 'utility\\bduss', 'baidubdusshuoqu,bdbdusshq', 96, 0, 0, 0, 0, 3, '', '2022-05-03 20:06:37', '2022-05-04 17:26:10'),
(60, 'QQ获取COOKIE', '/tool/newsid/', 'utility\\newsid', 'qqhuoqucookie,qqhqcookie', 97, 0, 0, 0, 0, 3, '', '2022-05-03 20:07:13', '2022-08-24 20:34:52'),
(61, '全网音乐搜索', 'http://music.hi.cn/', 'utility\\musictool', 'quanwangyinyuesousuo,qwyyss,music', 94, 1, 0, 0, 0, 3, '', '2022-05-03 20:07:48', '2023-09-28 15:29:21'),
(63, '手机归属地查询', 'mobile', 'utility\\mobile', 'shoujiguishudichaxun,sjgsdcx', 91, 1, 0, 0, 0, 3, '', '2022-05-03 20:39:06', '2022-05-04 17:26:52'),
(64, '身份证归属地查询', 'idcard', 'utility\\idcard', 'shenfenzhengguishudichaxun,sfzgsdcx', 90, 1, 0, 0, 0, 3, '', '2022-05-03 20:56:37', '2022-05-04 17:26:55'),
(65, '网页源代码查看', 'viewhtml', 'web\\viewhtml', 'wangyeyuandaimachakan,wyydmck', 99, 1, 0, 0, 0, 1, '', '2022-05-04 09:11:50', '2022-05-04 17:21:32'),
(66, '数字IP地址转换', 'ip_num', 'web\\ip_num', 'shuziipdizhizhuanhuan,szipdzzh', 93, 1, 0, 0, 0, 1, '', '2022-05-04 15:18:31', '2022-05-04 17:21:55'),
(67, 'RGB颜色对照表', 'rgb_color', 'dev\\rgb_color', 'rgbyanseduizhaobiao,rgbysdzb', 86, 1, 0, 0, 0, 2, '', '2022-05-04 16:15:31', '2022-05-04 17:25:04'),
(68, '查看HTTP请求', 'http', 'web\\http', 'chakanhttpqingqiu,ckhttpqq', 88, 1, 0, 0, 0, 1, '', '2022-05-04 16:26:15', '2022-05-04 17:22:20'),
(69, '音乐外链转换', 'https://link.hhtjim.com/', 'utility\\music_link', 'yinyuewailianzhuanhuan,yywlzh', 92, 1, 0, 0, 0, 3, '', '2022-05-04 17:11:49', '2023-09-28 15:29:24'),
(70, 'SEO综合查询', 'https://seo.chinaz.com/', 'web\\seo', 'seozonghechaxun,seozhcx', 86, 1, 0, 0, 0, 1, '', '2022-05-04 17:18:00', '2022-05-04 17:22:26'),
(71, 'PING网站测速', 'https://ping.chinaz.com/', 'web\\ping', 'pingwangzhancesu,pingwzcs', 87, 1, 0, 0, 0, 1, '', '2022-05-04 17:18:32', '2022-05-04 17:22:24'),
(72, '音乐文件解锁', 'http://unlock.music.hi.cn/', 'utility\\unlockmusic', 'yinyuewenjianjiesuo,yywjjs', 93, 1, 0, 0, 0, 3, '', '2022-05-04 17:19:40', '2023-09-28 15:29:22'),
(73, 'HTTP状态查询', 'http_status', 'web\\http_status', 'httpzhuangtaichaxun,httpztcx', 0, 1, 0, 0, 0, 1, '', '2022-05-05 18:40:33', '2022-05-05 18:40:33'),
(74, '域名DNS查询', 'dns', 'web\\dns', 'yumingdnschaxun,ymdnscx', 95, 1, 0, 0, 0, 1, '', '2022-05-07 17:12:38', '2023-09-28 15:28:10'),
(75, '提取群成员', 'group_members', 'wqq\\group_members', 'tiquqqqunchengyuan,tqqqqcy', 88, 1, 0, 0, 0, 5, '', '2022-05-17 17:41:22', '2022-05-18 15:58:54'),
(76, '批量删除群公告', 'group_announce', 'wqq\\group_announce', 'piliangshanchuqungonggao,plscqgg', 87, 1, 0, 0, 0, 5, '', '2022-05-17 18:11:49', '2022-05-18 15:58:56'),
(77, '自助解散群', 'group_dismiss', 'wqq\\group_dismiss', 'zizhujiesanqqqun,zzjsqqq', 86, 1, 0, 0, 0, 5, '', '2022-05-17 18:33:38', '2022-05-18 15:58:57'),
(78, '单向好友检测', 'friend_check', 'wqq\\friend_check', 'qqdanxianghaoyoujiance,qqdxhyjc', 97, 1, 0, 0, 0, 5, '', '2022-05-17 20:07:22', '2022-05-18 15:58:50'),
(79, 'QQ强制聊天', 'qqchat', 'wqq\\qqchat', 'qqqiangzhiliaotian,qqqzlt', 99, 1, 0, 0, 0, 5, '', '2022-05-17 23:13:21', '2022-05-18 15:58:47'),
(80, '生成加群链接', 'group_join', 'wqq\\group_join', 'shengchengjiaqunlianjie', 89, 1, 0, 0, 0, 5, '', '2022-05-18 10:32:39', '2022-05-18 15:58:52'),
(81, '设置空白昵称', 'setqqnick', 'wqq\\setqqnick', 'shezhikongbainicheng,szkbnc', 96, 1, 0, 0, 0, 5, '', '2022-05-18 11:20:50', '2022-05-18 15:58:51'),
(83, '自定义在线机型', 'online_device', 'wqq\\online_device', 'zidingyizaixianjixing,zdyzxjx', 98, 1, 0, 0, 0, 5, '', '2022-05-18 12:28:58', '2022-12-05 14:24:34'),
(84, '小米运动步数修改', 'sport', 'utility\\sport', 'xiaomiyundongbushuxiugai,xmydbsxg', 77, 1, 0, 1, 0, 3, '', '2022-05-19 20:28:23', '2023-09-28 15:39:27'),
(85, '短网址还原', 'unshorturl', 'utility\\unshorturl', 'duanwangzhihuanyuan,dwzhy', 83, 1, 0, 0, 0, 3, '', '2022-05-20 11:42:03', '2022-05-20 11:42:03'),
(86, 'B站视频解析', 'bili_video', 'utility\\bili_video', 'bzhanshipinjiexi,bzspjx', 69, 1, 0, 0, 0, 3, '', '2022-05-21 20:08:09', '2022-08-09 20:34:40'),
(87, '查B站弹幕发送者', 'bili_danmu', 'utility\\bili_danmu', 'chabzhandanmufasongzhe,cbzdmfsz', 68, 1, 0, 0, 0, 3, '', '2022-05-21 20:08:25', '2022-08-09 20:34:42'),
(91, '国庆头像生成', '/tool/gq_avatar/', 'fun\\gq_avatar', 'guoqingtouxiangshengcheng,gqtxsc', 4, 1, 0, 0, 0, 4, '', '2022-10-13 10:24:09', '2022-10-13 10:24:14'),
(92, '银行卡归属地查询', 'bankcard', 'utility\\bankcard', 'yinhangkaguishudichaxun,yhkgsdcx', 89, 1, 0, 0, 0, 3, '', '2022-10-14 16:55:08', '2022-10-21 17:35:56'),
(93, '微博图片反查', 'wbimg', 'utility\\wbimg', 'weibotupianfancha,wbtpfc', 67, 1, 0, 0, 0, 3, '', '2022-10-21 17:34:20', '2022-11-08 22:06:30'),
(94, 'QQ等级查询', 'qqlevel', 'wqq\\qqlevel', 'qqdengjichaxun,qqdjcx', 0, 0, 0, 0, 0, 5, '', '2023-04-23 18:06:05', '2023-04-23 18:06:05'),
(95, '短视频去水印解析', 'videoparse', 'utility\\videoparse', 'duanshipinqushuiyinjiexi,dspqsyjx', 95, 1, 0, 0, 0, 3, '', '2023-09-22 23:25:17', '2023-09-28 15:29:46'),
(96, '国密SM2工具', 'guomi', 'dev\\guomi', 'guomism2,gmsm2', 0, 1, 0, 0, 19, 2, '', '2023-10-26 17:50:38', '2023-10-26 21:35:10'),
(97, '证书信息查看', 'cert', 'dev\\cert', 'zhengshuxinxichakan,zsxxck', 0, 1, 0, 0, 18, 2, '', '2023-10-27 16:05:08', '2023-10-27 16:05:08'),
(98, '证书格式转换', 'cert_convert', 'dev\\cert_convert', 'rsazhengshugeshizhuanhuan,rsazsgszh', 0, 1, 0, 0, 8, 2, '', '2023-10-24 21:25:15', '2023-10-27 16:03:56'),
(99, 'CSR生成与查看', 'csr', 'dev\\csr', 'csrshengchengchakan,csrscck', 0, 1, 0, 0, 8, 2, '', '2023-11-09 20:18:19', '2023-11-10 17:14:02');
DROP TABLE IF EXISTS `toolbox_querycache`;
CREATE TABLE `toolbox_querycache` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(32) NOT NULL,
`key` varchar(128) NOT NULL,
`subkey` varchar(128) DEFAULT NULL,
`content` text,
`uptime` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `cachekey` (`key`,`type`),
KEY `cachekey2` (`subkey`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `toolbox_user`;
CREATE TABLE `toolbox_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL COMMENT '用户名',
`password` varchar(64) NOT NULL,
`stars` text DEFAULT NULL COMMENT '标星',
`avatar_url` varchar(255) NOT NULL COMMENT '头像',
`type` varchar(20) NOT NULL,
`openid` varchar(150) NOT NULL,
`enable` tinyint(1) NOT NULL DEFAULT '1',
`regip` varchar(20) DEFAULT NULL,
`loginip` varchar(20) DEFAULT NULL,
`level` int(11) NOT NULL DEFAULT '0',
`create_time` datetime NOT NULL COMMENT '创建时间',
`update_time` datetime NOT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `openid` (`openid`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1000;
DROP TABLE IF EXISTS `toolbox_uploadlog`;
CREATE TABLE `toolbox_uploadlog` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL DEFAULT '0',
`type` varchar(20) NOT NULL,
`source` varchar(32) NOT NULL,
`filename` varchar(300) DEFAULT NULL,
`fileurl` varchar(500) DEFAULT NULL,
`ip` varchar(20) NOT NULL,
`addtime` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;