From 1b7ccf6468c6a41c17e608f5dcf2cd0afd0d29e2 Mon Sep 17 00:00:00 2001 From: xiangheng <11675084@qq.com> Date: Fri, 8 Nov 2024 21:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/views/monitor/client/index.vue | 4 +- .../monitor_client/monitor_client_ctl.go | 214 ++++---- sql/x_admin_2.sql | 490 ++++++++++++++++-- 3 files changed, 561 insertions(+), 147 deletions(-) diff --git a/admin/src/views/monitor/client/index.vue b/admin/src/views/monitor/client/index.vue index ba5676f..feac66e 100644 --- a/admin/src/views/monitor/client/index.vue +++ b/admin/src/views/monitor/client/index.vue @@ -65,7 +65,7 @@
- 导出 - + --> ._cache. (http://localhost:5174/src/views/monitor/slow/index.vue:218:67)\n at callWithErrorHandling (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:2477:19)', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error` VALUES (136, 'e19e3be20de94f49b68fafb4c30668bc', 'ff93a0dcd262e61a52151ef662d75353', 'error', 'http://localhost:5174/monitor/monitor/slow/index', 'ResizeObserver loop completed with undelivered notifications.', '', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error` VALUES (137, 'e19e3be20de94f49b68fafb4c30668bc', 'ba922c6841afabfb0e1d5eb1a90f873a', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', '', '', '2024-11-06 12:48:11'); +INSERT INTO `x_monitor_error` VALUES (138, 'e19e3be20de94f49b68fafb4c30668bc', '11b6b34938947c386f816deb4ad36c5f', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'Request failed with status code 500', 'AxiosError: Request failed with status code 500\n at settle (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1230:12)\n at XMLHttpRequest.onloadend (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1593:7)\n at Axios.request (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:2145:41)', '2024-11-06 12:52:01'); +INSERT INTO `x_monitor_error` VALUES (139, 'e19e3be20de94f49b68fafb4c30668bc', 'ac41faabe5c45af29b696b37119b7389', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'timeout of 120000ms exceeded', 'AxiosError: timeout of 120000ms exceeded\n at XMLHttpRequest.handleTimeout (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1632:14)\n at Axios.request (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:2145:41)', '2024-11-06 13:15:37'); +INSERT INTO `x_monitor_error` VALUES (140, 'e19e3be20de94f49b68fafb4c30668bc', 'b57c3d565abfba586e8a617649b592a1', 'onloadTime', 'http://localhost:5174/', '时间:13914.8ms', '', '2024-11-07 12:32:39'); +INSERT INTO `x_monitor_error` VALUES (141, 'e19e3be20de94f49b68fafb4c30668bc', 'ee461d81b0ef6728a89640be5f794675', 'onloadTime', 'http://localhost:5174/', '时间:5872.9ms', '', '2024-11-07 14:46:41'); +INSERT INTO `x_monitor_error` VALUES (142, 'e19e3be20de94f49b68fafb4c30668bc', '3d201a726fbb323c5fc792acb9854884', 'img', 'http://localhost:5174/workbench', '', '', '2024-11-07 15:17:30'); +INSERT INTO `x_monitor_error` VALUES (143, 'e19e3be20de94f49b68fafb4c30668bc', 'ed7d8ba6b8ca8dc9e3d5a51258aca428', 'img', 'http://localhost:5174/api/static/backend_backdrop.png', '', '', '2024-11-07 16:37:36'); +INSERT INTO `x_monitor_error` VALUES (144, 'e19e3be20de94f49b68fafb4c30668bc', '0b520372ea4f67141414e50085c44951', 'unhandledrejection', 'http://localhost:5174/login?redirect=/monitor/monitor/slow/index', 'Request failed with status code 500', 'AxiosError: Request failed with status code 500\n at settle (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1230:12)\n at XMLHttpRequest.onloadend (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1593:7)\n at Axios.request (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:2145:41)', '2024-11-07 16:40:46'); +INSERT INTO `x_monitor_error` VALUES (145, 'e19e3be20de94f49b68fafb4c30668bc', 'c66cf37bb5dc338b63678d00a7054ecf', 'img', 'http://localhost:5174/login?redirect=/monitor/monitor/slow/index', '', '', '2024-11-07 16:40:46'); +INSERT INTO `x_monitor_error` VALUES (146, 'e19e3be20de94f49b68fafb4c30668bc', 'b4ab03a2fd2c320812854d55fe6abb4f', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'Cannot read properties of undefined (reading \'monitor_project_listAll\')', 'TypeError: Cannot read properties of undefined (reading \'monitor_project_listAll\')\n at http://localhost:5174/src/views/monitor/slow/index.vue?t=1730969588901:148:52\n at renderFnWithContext (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:2926:13)\n at renderSlot (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:4537:53)', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error` VALUES (147, 'e19e3be20de94f49b68fafb4c30668bc', '6697e34d8798e9c5bfb8edce0b869870', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'Cannot read properties of null (reading \'parentNode\')', 'TypeError: Cannot read properties of null (reading \'parentNode\')\n at parentNode (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:11830:34)\n at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:6633:11)\n at ReactiveEffect.run (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:1770:23)', '2024-11-07 16:53:50'); +INSERT INTO `x_monitor_error` VALUES (148, 'e19e3be20de94f49b68fafb4c30668bc', 'a359051a7d0903201728fe227bf8d091', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'Request failed with status code 404', 'AxiosError: Request failed with status code 404\n at settle (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1230:12)\n at XMLHttpRequest.onloadend (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1593:7)\n at Axios.request (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:2145:41)', '2024-11-07 16:54:55'); +INSERT INTO `x_monitor_error` VALUES (149, 'e19e3be20de94f49b68fafb4c30668bc', 'f47f07c13732e818c84dc087b7169615', 'unhandledrejection', 'http://localhost:5174/monitor/monitor/slow/index', 'Cannot read properties of undefined (reading \'Vue\')', 'TypeError: Cannot read properties of undefined (reading \'Vue\')\n at initBackend (chrome-extension://olofadcdnkkjdfgjcmjaadnlehnnihnl/build/backend.js:2119:28)', '2024-11-07 17:28:58'); +INSERT INTO `x_monitor_error` VALUES (150, 'e19e3be20de94f49b68fafb4c30668bc', 'fe7b096876be7f647d94ce84a053dab9', 'script', 'http://localhost:5174/src/main.ts?t=1730975599285', '', '', '2024-11-08 13:27:15'); +INSERT INTO `x_monitor_error` VALUES (151, 'e19e3be20de94f49b68fafb4c30668bc', '58a3679c7266f040d3e8116412c22ed8', 'script', 'http://localhost:5174/@vite/client', '', '', '2024-11-08 14:03:52'); +INSERT INTO `x_monitor_error` VALUES (152, 'e19e3be20de94f49b68fafb4c30668bc', 'f970e7ec49c1227292840651f9abb7b6', 'script', 'http://localhost:5174/src/main.ts?t=1731043835935', '', '', '2024-11-08 14:03:52'); +INSERT INTO `x_monitor_error` VALUES (153, 'e19e3be20de94f49b68fafb4c30668bc', '1079deb09a1e4fd73b20649d73e9dd4d', 'unhandledrejection', 'http://localhost:5174/setting/system/environment', 'Network Error', 'AxiosError: Network Error\n at XMLHttpRequest.handleError (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:1623:14)\n at Axios.request (http://localhost:5174/node_modules/.vite/deps/axios.js?v=2db2a83d:2145:41)', '2024-11-08 15:09:40'); +INSERT INTO `x_monitor_error` VALUES (154, 'e19e3be20de94f49b68fafb4c30668bc', '3858135af1f6deb9079a34b7a5b42440', 'error', 'http://localhost:5174/dev_tools/error/test', 'Uncaught Error: 主动抛error', 'Error: 主动抛error\n at error (http://localhost:5174/src/views/error/test.vue:10:13)\n at callWithErrorHandling (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:2477:19)\n at callWithAsyncErrorHandling (http://localhost:5174/node_modules/.vite/deps/chunk-W2D5EV7B.js?v=2db2a83d:2484:17)', '2024-11-08 16:44:27'); -- ---------------------------- -- Table structure for x_monitor_error_list @@ -407,21 +565,183 @@ INSERT INTO `x_monitor_error` VALUES (40, '2a01a60efed14d6eab279ba5c664ceac', '4 DROP TABLE IF EXISTS `x_monitor_error_list`; CREATE TABLE `x_monitor_error_list` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id', - `error_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '错误id', - `client_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '客户端id', - `project_key` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '项目key', + `eid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '错误表id', + `cid` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '客户端表id', `create_time` datetime NOT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE, - INDEX `uid`(`client_id`) USING BTREE, - INDEX `eid`(`error_id`) USING BTREE -) ENGINE = MyISAM AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '错误对应的用户记录' ROW_FORMAT = Dynamic; + INDEX `uid`(`cid`) USING BTREE, + INDEX `eid`(`eid`) USING BTREE +) ENGINE = MyISAM AUTO_INCREMENT = 404 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '错误对应的用户记录' ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of x_monitor_error_list -- ---------------------------- -INSERT INTO `x_monitor_error_list` VALUES (6, '40', '1', '2a01a60efed14d6eab279ba5c664ceac', '2024-09-25 18:35:33'); -INSERT INTO `x_monitor_error_list` VALUES (5, '39', '1', '2a01a60efed14d6eab279ba5c664ceac', '2024-09-25 18:34:24'); -INSERT INTO `x_monitor_error_list` VALUES (4, '39', '1', '2a01a60efed14d6eab279ba5c664ceac', '2024-09-25 18:33:17'); +INSERT INTO `x_monitor_error_list` VALUES (238, '84', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (239, '85', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (240, '84', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (241, '84', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (242, '84', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (243, '84', '37', '2024-10-31 13:05:54'); +INSERT INTO `x_monitor_error_list` VALUES (244, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (245, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (246, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (247, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (248, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (249, '84', '37', '2024-10-31 13:05:57'); +INSERT INTO `x_monitor_error_list` VALUES (250, '84', '37', '2024-10-31 13:06:07'); +INSERT INTO `x_monitor_error_list` VALUES (251, '84', '37', '2024-10-31 13:06:28'); +INSERT INTO `x_monitor_error_list` VALUES (252, '84', '37', '2024-10-31 13:06:28'); +INSERT INTO `x_monitor_error_list` VALUES (253, '85', '37', '2024-10-31 13:07:01'); +INSERT INTO `x_monitor_error_list` VALUES (254, '86', '37', '2024-10-31 13:07:01'); +INSERT INTO `x_monitor_error_list` VALUES (255, '87', '37', '2024-10-31 13:07:12'); +INSERT INTO `x_monitor_error_list` VALUES (256, '84', '37', '2024-10-31 13:11:48'); +INSERT INTO `x_monitor_error_list` VALUES (257, '84', '37', '2024-10-31 13:11:48'); +INSERT INTO `x_monitor_error_list` VALUES (258, '88', '37', '2024-10-31 15:01:25'); +INSERT INTO `x_monitor_error_list` VALUES (259, '89', '37', '2024-10-31 15:01:25'); +INSERT INTO `x_monitor_error_list` VALUES (260, '88', '37', '2024-10-31 15:19:35'); +INSERT INTO `x_monitor_error_list` VALUES (261, '90', '37', '2024-10-31 15:19:35'); +INSERT INTO `x_monitor_error_list` VALUES (262, '88', '37', '2024-10-31 15:29:55'); +INSERT INTO `x_monitor_error_list` VALUES (263, '90', '37', '2024-10-31 15:29:55'); +INSERT INTO `x_monitor_error_list` VALUES (264, '88', '37', '2024-10-31 15:46:27'); +INSERT INTO `x_monitor_error_list` VALUES (265, '90', '37', '2024-10-31 15:46:27'); +INSERT INTO `x_monitor_error_list` VALUES (266, '88', '37', '2024-10-31 15:46:38'); +INSERT INTO `x_monitor_error_list` VALUES (267, '90', '37', '2024-10-31 15:46:38'); +INSERT INTO `x_monitor_error_list` VALUES (268, '91', '37', '2024-10-31 15:48:25'); +INSERT INTO `x_monitor_error_list` VALUES (269, '92', '37', '2024-10-31 15:48:52'); +INSERT INTO `x_monitor_error_list` VALUES (270, '93', '37', '2024-10-31 17:44:37'); +INSERT INTO `x_monitor_error_list` VALUES (271, '93', '37', '2024-10-31 17:44:37'); +INSERT INTO `x_monitor_error_list` VALUES (272, '94', '38', '2024-11-04 19:06:07'); +INSERT INTO `x_monitor_error_list` VALUES (273, '95', '39', '2024-11-05 14:07:03'); +INSERT INTO `x_monitor_error_list` VALUES (274, '95', '39', '2024-11-05 14:07:33'); +INSERT INTO `x_monitor_error_list` VALUES (275, '95', '39', '2024-11-05 14:07:33'); +INSERT INTO `x_monitor_error_list` VALUES (276, '95', '39', '2024-11-05 14:07:33'); +INSERT INTO `x_monitor_error_list` VALUES (277, '95', '39', '2024-11-05 14:07:33'); +INSERT INTO `x_monitor_error_list` VALUES (278, '95', '39', '2024-11-05 14:07:33'); +INSERT INTO `x_monitor_error_list` VALUES (279, '96', '40', '2024-11-05 14:48:05'); +INSERT INTO `x_monitor_error_list` VALUES (280, '96', '40', '2024-11-05 14:48:05'); +INSERT INTO `x_monitor_error_list` VALUES (281, '96', '40', '2024-11-05 14:48:05'); +INSERT INTO `x_monitor_error_list` VALUES (282, '96', '40', '2024-11-05 14:48:13'); +INSERT INTO `x_monitor_error_list` VALUES (283, '96', '40', '2024-11-05 14:48:13'); +INSERT INTO `x_monitor_error_list` VALUES (284, '96', '40', '2024-11-05 14:48:13'); +INSERT INTO `x_monitor_error_list` VALUES (285, '96', '40', '2024-11-05 14:48:15'); +INSERT INTO `x_monitor_error_list` VALUES (286, '96', '40', '2024-11-05 14:48:26'); +INSERT INTO `x_monitor_error_list` VALUES (287, '96', '40', '2024-11-05 14:48:26'); +INSERT INTO `x_monitor_error_list` VALUES (288, '96', '40', '2024-11-05 14:48:26'); +INSERT INTO `x_monitor_error_list` VALUES (289, '96', '40', '2024-11-05 14:51:52'); +INSERT INTO `x_monitor_error_list` VALUES (290, '96', '40', '2024-11-05 14:51:52'); +INSERT INTO `x_monitor_error_list` VALUES (291, '96', '40', '2024-11-05 14:51:52'); +INSERT INTO `x_monitor_error_list` VALUES (292, '97', '53', '2024-11-05 17:27:34'); +INSERT INTO `x_monitor_error_list` VALUES (293, '97', '54', '2024-11-05 17:29:54'); +INSERT INTO `x_monitor_error_list` VALUES (294, '97', '54', '2024-11-05 17:34:04'); +INSERT INTO `x_monitor_error_list` VALUES (295, '97', '54', '2024-11-05 17:35:24'); +INSERT INTO `x_monitor_error_list` VALUES (296, '98', '55', '2024-11-05 17:53:26'); +INSERT INTO `x_monitor_error_list` VALUES (297, '98', '55', '2024-11-05 17:53:26'); +INSERT INTO `x_monitor_error_list` VALUES (298, '98', '55', '2024-11-05 17:53:26'); +INSERT INTO `x_monitor_error_list` VALUES (299, '98', '55', '2024-11-05 17:53:26'); +INSERT INTO `x_monitor_error_list` VALUES (300, '98', '55', '2024-11-05 17:53:36'); +INSERT INTO `x_monitor_error_list` VALUES (301, '98', '55', '2024-11-05 17:53:36'); +INSERT INTO `x_monitor_error_list` VALUES (302, '99', '55', '2024-11-05 17:57:06'); +INSERT INTO `x_monitor_error_list` VALUES (303, '100', '55', '2024-11-05 17:57:16'); +INSERT INTO `x_monitor_error_list` VALUES (304, '99', '55', '2024-11-05 17:57:26'); +INSERT INTO `x_monitor_error_list` VALUES (305, '101', '55', '2024-11-05 19:00:34'); +INSERT INTO `x_monitor_error_list` VALUES (306, '102', '55', '2024-11-05 19:05:15'); +INSERT INTO `x_monitor_error_list` VALUES (307, '103', '55', '2024-11-05 19:11:32'); +INSERT INTO `x_monitor_error_list` VALUES (308, '104', '55', '2024-11-05 19:12:59'); +INSERT INTO `x_monitor_error_list` VALUES (309, '105', '55', '2024-11-05 19:12:59'); +INSERT INTO `x_monitor_error_list` VALUES (310, '106', '55', '2024-11-05 19:12:59'); +INSERT INTO `x_monitor_error_list` VALUES (311, '107', '55', '2024-11-05 19:13:10'); +INSERT INTO `x_monitor_error_list` VALUES (312, '108', '55', '2024-11-05 19:13:20'); +INSERT INTO `x_monitor_error_list` VALUES (313, '109', '56', '2024-11-05 19:13:39'); +INSERT INTO `x_monitor_error_list` VALUES (314, '108', '56', '2024-11-05 19:13:59'); +INSERT INTO `x_monitor_error_list` VALUES (315, '110', '57', '2024-11-05 19:20:53'); +INSERT INTO `x_monitor_error_list` VALUES (316, '111', '57', '2024-11-05 19:20:53'); +INSERT INTO `x_monitor_error_list` VALUES (317, '112', '57', '2024-11-05 19:24:16'); +INSERT INTO `x_monitor_error_list` VALUES (318, '112', '57', '2024-11-05 19:24:38'); +INSERT INTO `x_monitor_error_list` VALUES (319, '112', '57', '2024-11-05 19:24:38'); +INSERT INTO `x_monitor_error_list` VALUES (320, '112', '57', '2024-11-05 19:24:38'); +INSERT INTO `x_monitor_error_list` VALUES (321, '113', '57', '2024-11-05 19:25:09'); +INSERT INTO `x_monitor_error_list` VALUES (322, '114', '57', '2024-11-05 19:26:00'); +INSERT INTO `x_monitor_error_list` VALUES (323, '115', '57', '2024-11-05 19:26:11'); +INSERT INTO `x_monitor_error_list` VALUES (324, '116', '57', '2024-11-05 19:26:21'); +INSERT INTO `x_monitor_error_list` VALUES (325, '117', '58', '2024-11-05 19:26:37'); +INSERT INTO `x_monitor_error_list` VALUES (326, '116', '58', '2024-11-05 19:26:57'); +INSERT INTO `x_monitor_error_list` VALUES (327, '118', '59', '2024-11-05 19:27:25'); +INSERT INTO `x_monitor_error_list` VALUES (328, '119', '59', '2024-11-05 19:27:25'); +INSERT INTO `x_monitor_error_list` VALUES (329, '120', '59', '2024-11-05 19:27:43'); +INSERT INTO `x_monitor_error_list` VALUES (330, '121', '59', '2024-11-05 19:27:43'); +INSERT INTO `x_monitor_error_list` VALUES (331, '122', '59', '2024-11-05 19:28:02'); +INSERT INTO `x_monitor_error_list` VALUES (332, '123', '59', '2024-11-05 19:28:28'); +INSERT INTO `x_monitor_error_list` VALUES (333, '124', '59', '2024-11-05 19:28:52'); +INSERT INTO `x_monitor_error_list` VALUES (334, '125', '59', '2024-11-05 19:29:55'); +INSERT INTO `x_monitor_error_list` VALUES (335, '126', '59', '2024-11-05 19:30:21'); +INSERT INTO `x_monitor_error_list` VALUES (336, '127', '59', '2024-11-05 22:29:58'); +INSERT INTO `x_monitor_error_list` VALUES (337, '128', '59', '2024-11-05 22:31:17'); +INSERT INTO `x_monitor_error_list` VALUES (338, '129', '59', '2024-11-05 22:31:51'); +INSERT INTO `x_monitor_error_list` VALUES (339, '130', '61', '2024-11-05 23:40:46'); +INSERT INTO `x_monitor_error_list` VALUES (340, '97', '61', '2024-11-05 23:42:49'); +INSERT INTO `x_monitor_error_list` VALUES (341, '131', '62', '2024-11-06 11:13:52'); +INSERT INTO `x_monitor_error_list` VALUES (342, '116', '62', '2024-11-06 11:30:32'); +INSERT INTO `x_monitor_error_list` VALUES (343, '116', '63', '2024-11-06 11:45:31'); +INSERT INTO `x_monitor_error_list` VALUES (344, '132', '64', '2024-11-06 11:46:49'); +INSERT INTO `x_monitor_error_list` VALUES (345, '133', '64', '2024-11-06 11:47:34'); +INSERT INTO `x_monitor_error_list` VALUES (346, '134', '65', '2024-11-06 11:48:15'); +INSERT INTO `x_monitor_error_list` VALUES (347, '116', '65', '2024-11-06 11:57:15'); +INSERT INTO `x_monitor_error_list` VALUES (348, '135', '66', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error_list` VALUES (349, '135', '66', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error_list` VALUES (350, '135', '66', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error_list` VALUES (351, '136', '66', '2024-11-06 12:37:43'); +INSERT INTO `x_monitor_error_list` VALUES (352, '116', '67', '2024-11-06 12:39:57'); +INSERT INTO `x_monitor_error_list` VALUES (353, '116', '67', '2024-11-06 12:39:57'); +INSERT INTO `x_monitor_error_list` VALUES (354, '116', '67', '2024-11-06 12:39:57'); +INSERT INTO `x_monitor_error_list` VALUES (355, '116', '67', '2024-11-06 12:40:07'); +INSERT INTO `x_monitor_error_list` VALUES (356, '137', '68', '2024-11-06 12:48:11'); +INSERT INTO `x_monitor_error_list` VALUES (357, '136', '68', '2024-11-06 12:48:11'); +INSERT INTO `x_monitor_error_list` VALUES (358, '137', '68', '2024-11-06 12:48:41'); +INSERT INTO `x_monitor_error_list` VALUES (359, '137', '68', '2024-11-06 12:49:01'); +INSERT INTO `x_monitor_error_list` VALUES (360, '138', '68', '2024-11-06 12:52:01'); +INSERT INTO `x_monitor_error_list` VALUES (361, '138', '68', '2024-11-06 12:52:01'); +INSERT INTO `x_monitor_error_list` VALUES (362, '137', '68', '2024-11-06 12:52:01'); +INSERT INTO `x_monitor_error_list` VALUES (363, '137', '68', '2024-11-06 12:52:01'); +INSERT INTO `x_monitor_error_list` VALUES (364, '137', '68', '2024-11-06 12:52:41'); +INSERT INTO `x_monitor_error_list` VALUES (365, '116', '68', '2024-11-06 12:53:11'); +INSERT INTO `x_monitor_error_list` VALUES (366, '137', '68', '2024-11-06 12:53:31'); +INSERT INTO `x_monitor_error_list` VALUES (367, '136', '68', '2024-11-06 13:05:11'); +INSERT INTO `x_monitor_error_list` VALUES (368, '139', '68', '2024-11-06 13:15:37'); +INSERT INTO `x_monitor_error_list` VALUES (369, '139', '68', '2024-11-06 13:15:37'); +INSERT INTO `x_monitor_error_list` VALUES (370, '139', '68', '2024-11-06 13:22:12'); +INSERT INTO `x_monitor_error_list` VALUES (371, '139', '68', '2024-11-06 13:22:12'); +INSERT INTO `x_monitor_error_list` VALUES (372, '140', '68', '2024-11-07 12:32:39'); +INSERT INTO `x_monitor_error_list` VALUES (373, '136', '68', '2024-11-07 14:22:45'); +INSERT INTO `x_monitor_error_list` VALUES (374, '136', '68', '2024-11-07 14:31:55'); +INSERT INTO `x_monitor_error_list` VALUES (375, '141', '68', '2024-11-07 14:46:41'); +INSERT INTO `x_monitor_error_list` VALUES (376, '142', '68', '2024-11-07 15:17:30'); +INSERT INTO `x_monitor_error_list` VALUES (377, '136', '68', '2024-11-07 16:30:58'); +INSERT INTO `x_monitor_error_list` VALUES (378, '143', '71', '2024-11-07 16:37:36'); +INSERT INTO `x_monitor_error_list` VALUES (379, '144', '71', '2024-11-07 16:40:46'); +INSERT INTO `x_monitor_error_list` VALUES (380, '144', '71', '2024-11-07 16:40:46'); +INSERT INTO `x_monitor_error_list` VALUES (381, '145', '71', '2024-11-07 16:40:46'); +INSERT INTO `x_monitor_error_list` VALUES (382, '136', '71', '2024-11-07 16:48:56'); +INSERT INTO `x_monitor_error_list` VALUES (383, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (384, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (385, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (386, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (387, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (388, '146', '76', '2024-11-07 16:53:10'); +INSERT INTO `x_monitor_error_list` VALUES (389, '147', '76', '2024-11-07 16:53:50'); +INSERT INTO `x_monitor_error_list` VALUES (390, '147', '76', '2024-11-07 16:54:15'); +INSERT INTO `x_monitor_error_list` VALUES (391, '148', '76', '2024-11-07 16:54:55'); +INSERT INTO `x_monitor_error_list` VALUES (392, '136', '76', '2024-11-07 17:00:45'); +INSERT INTO `x_monitor_error_list` VALUES (393, '136', '76', '2024-11-07 17:14:58'); +INSERT INTO `x_monitor_error_list` VALUES (394, '136', '77', '2024-11-07 17:15:57'); +INSERT INTO `x_monitor_error_list` VALUES (395, '136', '77', '2024-11-07 17:16:37'); +INSERT INTO `x_monitor_error_list` VALUES (396, '136', '77', '2024-11-07 17:18:48'); +INSERT INTO `x_monitor_error_list` VALUES (397, '149', '78', '2024-11-07 17:28:58'); +INSERT INTO `x_monitor_error_list` VALUES (398, '149', '78', '2024-11-07 17:30:18'); +INSERT INTO `x_monitor_error_list` VALUES (399, '150', '81', '2024-11-08 13:27:15'); +INSERT INTO `x_monitor_error_list` VALUES (400, '151', '81', '2024-11-08 14:03:52'); +INSERT INTO `x_monitor_error_list` VALUES (401, '152', '81', '2024-11-08 14:03:52'); +INSERT INTO `x_monitor_error_list` VALUES (402, '153', '83', '2024-11-08 15:09:40'); +INSERT INTO `x_monitor_error_list` VALUES (403, '154', '83', '2024-11-08 16:44:27'); -- ---------------------------- -- Table structure for x_monitor_project @@ -439,19 +759,72 @@ CREATE TABLE `x_monitor_project` ( `delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `project_key`(`project_key`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '监控项目' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '监控项目' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_monitor_project -- ---------------------------- -INSERT INTO `x_monitor_project` VALUES (1, '2a01a60efed14d6eab279ba5c664ceac', 'x_admin', 'node', 0, 0, '2024-05-18 15:59:53', '2024-07-09 12:06:42', NULL); +INSERT INTO `x_monitor_project` VALUES (1, '2a01a60efed14d6eab279ba5c664ceac', 'x_admin', 'node', 0, 1, '2024-05-18 15:59:53', '2024-07-09 12:06:42', '2024-10-29 16:11:37'); INSERT INTO `x_monitor_project` VALUES (2, '9a1d5d657d884bbfb7df0ddf032a8504', '2', 'go', 0, 1, '2024-06-17 18:58:57', '2024-06-29 00:31:27', NULL); INSERT INTO `x_monitor_project` VALUES (3, '603055b4b53e45a4b6fb725147d7fd42', 'ad', 'web', 0, 1, '2024-07-08 15:26:56', '2024-07-10 12:21:11', NULL); INSERT INTO `x_monitor_project` VALUES (4, '95cf6a6a37e549019c90c2ed34704f1f', 'a', 'uniapp', 0, 1, '2024-07-09 00:45:18', '2024-07-09 00:49:27', NULL); -INSERT INTO `x_monitor_project` VALUES (5, '57377a40408f4bfd974047fbf0a18e24', 'go项目', 'go', 0, 0, '2024-07-10 12:20:37', '2024-09-25 16:50:45', NULL); -INSERT INTO `x_monitor_project` VALUES (6, '6217ea4ea0044014831bd25121a3113c', 'go', 'go', 0, 0, '2024-07-12 23:17:23', '2024-07-12 23:17:23', NULL); +INSERT INTO `x_monitor_project` VALUES (5, '57377a40408f4bfd974047fbf0a18e24', 'go项目', 'go', 0, 1, '2024-07-10 12:20:37', '2024-09-25 16:50:45', '2024-10-29 16:11:37'); +INSERT INTO `x_monitor_project` VALUES (6, '6217ea4ea0044014831bd25121a3113c', 'go', 'go', 0, 0, '2024-07-12 23:17:23', '2024-11-07 15:43:08', NULL); INSERT INTO `x_monitor_project` VALUES (7, 'e19e3be20de94f49b68fafb4c30668bc', 'web项目', 'web', 1, 0, '2024-07-13 20:56:21', '2024-09-25 16:58:58', NULL); INSERT INTO `x_monitor_project` VALUES (8, 'e0cb2d091ce1408babcf17b48eccebf6', '1', 'web', 1, 1, '2024-10-12 10:35:32', '2024-10-12 10:35:38', '2024-10-12 10:35:38'); +INSERT INTO `x_monitor_project` VALUES (9, '72ed4cafe3c141e9ba662224651a22f0', 'a', 'web', 1, 1, '2024-10-29 16:16:08', '2024-10-29 16:16:22', '2024-10-29 16:16:22'); + +-- ---------------------------- +-- Table structure for x_monitor_slow +-- ---------------------------- +DROP TABLE IF EXISTS `x_monitor_slow`; +CREATE TABLE `x_monitor_slow` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '错误id', + `project_key` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '项目key', + `client_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'sdk生成的客户端id', + `user_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户id', + `path` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'URL地址', + `time` float(10, 2) NOT NULL COMMENT '时间', + `create_time` datetime NOT NULL COMMENT '创建时间', + PRIMARY KEY (`id`) USING BTREE, + INDEX `project_key`(`project_key`) USING BTREE, + INDEX `client_id`(`client_id`) USING BTREE +) ENGINE = InnoDB AUTO_INCREMENT = 167 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '监控-慢接口' ROW_FORMAT = DYNAMIC; + +-- ---------------------------- +-- Records of x_monitor_slow +-- ---------------------------- +INSERT INTO `x_monitor_slow` VALUES (136, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '', 'http://localhost:5174/login?redirect=/monitor/monitor/slow/index', 8515.50, '2024-11-07 16:47:42'); +INSERT INTO `x_monitor_slow` VALUES (137, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '', 'http://localhost:5174/monitor/monitor/slow/index', 702.10, '2024-11-07 16:52:00'); +INSERT INTO `x_monitor_slow` VALUES (138, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 2648.20, '2024-11-07 16:52:02'); +INSERT INTO `x_monitor_slow` VALUES (139, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 393.70, '2024-11-07 16:52:13'); +INSERT INTO `x_monitor_slow` VALUES (140, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 635.30, '2024-11-07 16:54:10'); +INSERT INTO `x_monitor_slow` VALUES (141, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 620.50, '2024-11-07 16:56:25'); +INSERT INTO `x_monitor_slow` VALUES (142, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 1083.00, '2024-11-07 17:11:11'); +INSERT INTO `x_monitor_slow` VALUES (143, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 656.50, '2024-11-07 17:12:08'); +INSERT INTO `x_monitor_slow` VALUES (144, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8103.20, '2024-11-07 17:15:07'); +INSERT INTO `x_monitor_slow` VALUES (145, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8614.60, '2024-11-07 17:24:01'); +INSERT INTO `x_monitor_slow` VALUES (146, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 9773.30, '2024-11-07 17:25:51'); +INSERT INTO `x_monitor_slow` VALUES (147, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8567.50, '2024-11-07 17:26:09'); +INSERT INTO `x_monitor_slow` VALUES (148, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 9582.50, '2024-11-07 17:26:25'); +INSERT INTO `x_monitor_slow` VALUES (149, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8762.30, '2024-11-07 17:27:20'); +INSERT INTO `x_monitor_slow` VALUES (150, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8923.60, '2024-11-07 17:27:39'); +INSERT INTO `x_monitor_slow` VALUES (151, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8564.70, '2024-11-07 17:28:16'); +INSERT INTO `x_monitor_slow` VALUES (152, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8892.90, '2024-11-07 17:28:49'); +INSERT INTO `x_monitor_slow` VALUES (153, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8643.80, '2024-11-07 17:29:29'); +INSERT INTO `x_monitor_slow` VALUES (154, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8916.20, '2024-11-07 17:30:08'); +INSERT INTO `x_monitor_slow` VALUES (155, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8609.90, '2024-11-07 17:37:47'); +INSERT INTO `x_monitor_slow` VALUES (156, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8719.30, '2024-11-07 18:13:16'); +INSERT INTO `x_monitor_slow` VALUES (157, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8694.10, '2024-11-07 18:16:45'); +INSERT INTO `x_monitor_slow` VALUES (158, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8556.70, '2024-11-07 18:17:57'); +INSERT INTO `x_monitor_slow` VALUES (159, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '1', 'http://localhost:5174/monitor/monitor/slow/index', 8470.90, '2024-11-07 18:23:04'); +INSERT INTO `x_monitor_slow` VALUES (160, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 8797.10, '2024-11-07 18:27:05'); +INSERT INTO `x_monitor_slow` VALUES (161, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 2031.20, '2024-11-07 18:33:16'); +INSERT INTO `x_monitor_slow` VALUES (162, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 909.20, '2024-11-07 18:33:18'); +INSERT INTO `x_monitor_slow` VALUES (163, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 810.80, '2024-11-07 18:33:20'); +INSERT INTO `x_monitor_slow` VALUES (164, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 1180.90, '2024-11-08 13:27:05'); +INSERT INTO `x_monitor_slow` VALUES (165, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/monitor/monitor/slow/index', 927.50, '2024-11-08 13:29:29'); +INSERT INTO `x_monitor_slow` VALUES (166, 'e19e3be20de94f49b68fafb4c30668bc', 'be924f50-9a9c-11ef-b456-837484cb12c1', '2', 'http://localhost:5174/setting/permission/menu', 12655.80, '2024-11-08 14:05:10'); -- ---------------------------- -- Table structure for x_notice_setting @@ -503,12 +876,12 @@ CREATE TABLE `x_system_auth_admin` ( `update_time` datetime NOT NULL COMMENT '更新时间', `delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统管理成员表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统管理成员表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_auth_admin -- ---------------------------- -INSERT INTO `x_system_auth_admin` VALUES (1, 1, 3, 'admin', 'admin', '81a13dd8e25644a8823082573ca973f7', '/image/20232911/27699a1e991e4ba1ba13ee6d45185db6.jpg', '0', 'WFdiD', 1, 1, 0, 0, '127.0.0.1', '2024-10-25 18:17:07', '2024-01-02 03:04:05', '2024-10-25 18:17:07', NULL); +INSERT INTO `x_system_auth_admin` VALUES (1, 1, 3, 'admin', 'admin', '81a13dd8e25644a8823082573ca973f7', '/image/20232911/27699a1e991e4ba1ba13ee6d45185db6.jpg', '0', 'WFdiD', 1, 1, 0, 0, '127.0.0.1', '2024-11-08 13:29:42', '2024-01-02 03:04:05', '2024-11-08 13:29:42', NULL); -- ---------------------------- -- Table structure for x_system_auth_dept @@ -528,7 +901,7 @@ CREATE TABLE `x_system_auth_dept` ( `update_time` datetime NOT NULL COMMENT '更新时间', `delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统部门管理表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统部门管理表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_auth_dept @@ -559,7 +932,7 @@ CREATE TABLE `x_system_auth_menu` ( `create_time` datetime NOT NULL COMMENT '创建时间', `update_time` datetime NOT NULL COMMENT '更新时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 832 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统菜单管理表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 873 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统菜单管理表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_auth_menu @@ -627,7 +1000,7 @@ INSERT INTO `x_system_auth_menu` VALUES (551, 550, 'C', '系统环境', '', 0, ' INSERT INTO `x_system_auth_menu` VALUES (552, 550, 'C', '系统缓存', '', 0, 'admin:monitor:cache', 'cache', 'setting/system/cache', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (553, 550, 'C', '系统日志', '', 0, 'admin:system:log:operate', 'journal', 'setting/system/journal', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (600, 0, 'M', '开发工具', 'el-icon-EditPen', 0, '', 'dev_tools', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); -INSERT INTO `x_system_auth_menu` VALUES (610, 600, 'C', '代码生成器', 'el-icon-DocumentAdd', 0, 'admin:gen:list', 'code', 'dev_tools/code/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); +INSERT INTO `x_system_auth_menu` VALUES (610, 600, 'C', '代码生成器', '', 0, 'admin:gen:list', 'code', 'dev_tools/code/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-10-31 14:59:14'); INSERT INTO `x_system_auth_menu` VALUES (611, 610, 'A', '导入数据表', '', 0, 'admin:gen:importTable', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (612, 610, 'A', '生成代码', '', 0, 'admin:gen:genCode', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (613, 610, 'A', '下载代码', '', 0, 'admin:gen:downloadCode', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); @@ -644,8 +1017,8 @@ INSERT INTO `x_system_auth_menu` VALUES (778, 0, 'M', '审批流', 'el-icon-Coor INSERT INTO `x_system_auth_menu` VALUES (780, 778, 'C', '待处理', '', 0, 'admin:flow:flow_history:list', 'flow_history/todo', 'flow/flow_history/todo', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (781, 778, 'C', '已处理', '', 0, 'admin:flow:flow_history:list', 'flow_history/done', 'flow/flow_history/done', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (782, 778, 'C', '已完成流程', '', 0, 'admin:flow:flow_history:list', 'flow_apply/finish', 'flow/flow_apply/finish', '', '', 1, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); -INSERT INTO `x_system_auth_menu` VALUES (783, 500, 'C', '项目监控', 'el-icon-Notebook', 0, 'admin:monitor_project:list', 'monitor/project/index', 'monitor/project/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-09-25 16:14:03'); -INSERT INTO `x_system_auth_menu` VALUES (784, 500, 'C', '监控用户端', '', 0, '', 'monitor/client/index', 'monitor/client/index', '', '', 1, 1, 0, '2024-01-02 03:04:05', '2024-09-25 16:13:05'); +INSERT INTO `x_system_auth_menu` VALUES (783, 832, 'C', '项目', '', 0, 'admin:monitor_project:list', 'project/index', 'monitor/project/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-10-29 15:40:44'); +INSERT INTO `x_system_auth_menu` VALUES (784, 832, 'C', '用户端', '', 0, '', 'client/index', 'monitor/client/index', '', '', 1, 1, 0, '2024-01-02 03:04:05', '2024-10-29 15:40:54'); INSERT INTO `x_system_auth_menu` VALUES (785, 794, 'A', '错误收集error添加', '', 0, 'admin:monitor_web:add', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (786, 794, 'A', '错误收集error编辑', '', 0, 'admin:monitor_web:edit', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (787, 794, 'A', '错误收集error删除', '', 0, 'admin:monitor_web:del', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); @@ -654,7 +1027,7 @@ INSERT INTO `x_system_auth_menu` VALUES (789, 794, 'A', '错误收集error全部 INSERT INTO `x_system_auth_menu` VALUES (790, 794, 'A', '错误收集error详情', '', 0, 'admin:monitor_web:detail', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (791, 794, 'A', '错误收集error导出excel', '', 0, 'admin:monitor_web:ExportFile', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (792, 794, 'A', '错误收集error导入excel', '', 0, 'admin:monitor_web:ImportFile', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); -INSERT INTO `x_system_auth_menu` VALUES (794, 500, 'C', '错误列表', '', 0, '', 'monitor/error/index', 'monitor/error/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-09-25 16:38:39'); +INSERT INTO `x_system_auth_menu` VALUES (794, 832, 'C', '错误列表', '', 0, '', 'error/index', 'monitor/error/index', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-10-29 15:39:16'); INSERT INTO `x_system_auth_menu` VALUES (795, 776, 'A', '流程模板添加', '', 0, 'admin:flow:flow_template:add', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (796, 776, 'A', '流程模板编辑', '', 0, 'admin:flow:flow_template:edit', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); INSERT INTO `x_system_auth_menu` VALUES (797, 776, 'A', '流程模板删除', '', 0, 'admin:flow:flow_template:del', '', '', '', '', 0, 1, 0, '2024-01-02 03:04:05', '2024-01-02 03:04:05'); @@ -691,6 +1064,27 @@ INSERT INTO `x_system_auth_menu` VALUES (828, 823, 'A', '用户协议全部列 INSERT INTO `x_system_auth_menu` VALUES (829, 823, 'A', '用户协议详情', '', 0, 'admin:user_protocol:detail', '', '', '', '', 0, 1, 0, '2024-09-10 20:05:13', '2024-09-10 20:05:13'); INSERT INTO `x_system_auth_menu` VALUES (830, 823, 'A', '用户协议导出excel', '', 0, 'admin:user_protocol:ExportFile', '', '', '', '', 0, 1, 0, '2024-09-10 20:05:13', '2024-09-10 20:05:13'); INSERT INTO `x_system_auth_menu` VALUES (831, 823, 'A', '用户协议导入excel', '', 0, 'admin:user_protocol:ImportFile', '', '', '', '', 0, 1, 0, '2024-09-10 20:05:13', '2024-09-10 20:05:13'); +INSERT INTO `x_system_auth_menu` VALUES (832, 0, 'M', '错误监控', 'el-icon-Memo', 0, '', 'monitor', '', '', '', 1, 1, 0, '2024-10-29 15:32:33', '2024-10-29 15:32:33'); +INSERT INTO `x_system_auth_menu` VALUES (833, 600, 'C', '错误捕获', '', 0, '', 'error/test', 'error/test', '', '', 1, 1, 0, '2024-10-30 18:16:56', '2024-10-30 18:16:56'); +INSERT INTO `x_system_auth_menu` VALUES (834, 832, 'C', '慢接口', '', 0, '', 'slow/index', 'monitor/slow/index', '', '', 0, 1, 0, '2024-11-06 12:30:19', '2024-11-08 13:45:22'); +INSERT INTO `x_system_auth_menu` VALUES (844, 834, 'A', '慢接口添加', '', 0, 'admin:monitor_slow:add', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (845, 834, 'A', '慢接口编辑', '', 0, 'admin:monitor_slow:edit', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (846, 834, 'A', '慢接口删除', '', 0, 'admin:monitor_slow:del', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (847, 834, 'A', '慢接口删除-批量', '', 0, 'admin:monitor_slow:delBatch', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (848, 834, 'A', '慢接口列表', '', 0, 'admin:monitor_slow:list', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (849, 834, 'A', '慢接口全部列表', '', 0, 'admin:monitor_slow:listAll', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (850, 834, 'A', '慢接口详情', '', 0, 'admin:monitor_slow:detail', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (851, 834, 'A', '慢接口导出excel', '', 0, 'admin:monitor_slow:ExportFile', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (852, 834, 'A', '慢接口导入excel', '', 0, 'admin:monitor_slow:ImportFile', '', '', '', '', 0, 1, 0, '2024-11-06 12:34:55', '2024-11-06 12:34:55'); +INSERT INTO `x_system_auth_menu` VALUES (864, 784, 'A', '监控-客户端信息添加', '', 0, 'admin:monitor_client:add', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (865, 784, 'A', '监控-客户端信息编辑', '', 0, 'admin:monitor_client:edit', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (866, 784, 'A', '监控-客户端信息删除', '', 0, 'admin:monitor_client:del', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (867, 784, 'A', '监控-客户端信息删除-批量', '', 0, 'admin:monitor_client:delBatch', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (868, 784, 'A', '监控-客户端信息列表', '', 0, 'admin:monitor_client:list', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (869, 784, 'A', '监控-客户端信息全部列表', '', 0, 'admin:monitor_client:listAll', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (870, 784, 'A', '监控-客户端信息详情', '', 0, 'admin:monitor_client:detail', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (871, 784, 'A', '监控-客户端信息导出excel', '', 0, 'admin:monitor_client:ExportFile', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); +INSERT INTO `x_system_auth_menu` VALUES (872, 784, 'A', '监控-客户端信息导入excel', '', 0, 'admin:monitor_client:ImportFile', '', '', '', '', 0, 1, 0, '2024-11-08 14:15:28', '2024-11-08 14:15:28'); -- ---------------------------- -- Table structure for x_system_auth_perm @@ -851,7 +1245,7 @@ CREATE TABLE `x_system_auth_post` ( `update_time` datetime NOT NULL COMMENT '更新时间', `delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统岗位管理表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统岗位管理表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_auth_post @@ -956,11 +1350,30 @@ CREATE TABLE `x_system_log_login` ( `status` tinyint(1) UNSIGNED NOT NULL DEFAULT 1 COMMENT '操作状态: 1=成功, 2=失败', `create_time` datetime NOT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 164 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_log_login -- ---------------------------- +INSERT INTO `x_system_log_login` VALUES (1, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-29 14:27:41'); +INSERT INTO `x_system_log_login` VALUES (2, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-29 14:46:35'); +INSERT INTO `x_system_log_login` VALUES (3, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-29 23:05:34'); +INSERT INTO `x_system_log_login` VALUES (4, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-30 09:49:22'); +INSERT INTO `x_system_log_login` VALUES (5, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-30 10:05:00'); +INSERT INTO `x_system_log_login` VALUES (6, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-30 18:15:47'); +INSERT INTO `x_system_log_login` VALUES (7, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-30 19:02:50'); +INSERT INTO `x_system_log_login` VALUES (8, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-31 10:57:33'); +INSERT INTO `x_system_log_login` VALUES (9, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-10-31 14:56:49'); +INSERT INTO `x_system_log_login` VALUES (10, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-04 14:59:54'); +INSERT INTO `x_system_log_login` VALUES (11, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-04 19:02:36'); +INSERT INTO `x_system_log_login` VALUES (12, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-05 14:05:30'); +INSERT INTO `x_system_log_login` VALUES (13, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-05 22:22:23'); +INSERT INTO `x_system_log_login` VALUES (14, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-06 11:13:57'); +INSERT INTO `x_system_log_login` VALUES (15, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-07 12:32:52'); +INSERT INTO `x_system_log_login` VALUES (16, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-07 13:01:06'); +INSERT INTO `x_system_log_login` VALUES (17, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-07 15:17:26'); +INSERT INTO `x_system_log_login` VALUES (18, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-07 16:47:51'); +INSERT INTO `x_system_log_login` VALUES (19, 1, 'admin', '127.0.0.1', 'Windows', 'Edge', 1, '2024-11-08 13:29:42'); -- ---------------------------- -- Table structure for x_system_log_operate @@ -982,11 +1395,12 @@ CREATE TABLE `x_system_log_operate` ( `task_time` int(11) NULL DEFAULT NULL COMMENT '执行耗时', `create_time` datetime NOT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 623 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统操作日志表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统操作日志表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_log_operate -- ---------------------------- +INSERT INTO `x_system_log_operate` VALUES (1, 0, 'GET', '监控-客户端信息新增', '127.0.0.1', '/api/admin/monitor_client/add', 'x_admin/admin/monitor_client.(*MonitorClientHandler).Add-fm', 'data=[{\"type\":\"error\",\"eventType\":\"error\",\"message\":\"ResizeObserver loop completed with undelivered notifications.\",\"stack\":\"\"}]', 'runtime error: invalid memory address or nil pointer dereference', 2, '2024-10-30 23:30:23', '2024-10-30 23:30:29', 6622, '2024-10-30 23:30:30'); -- ---------------------------- -- Table structure for x_system_log_sms @@ -1003,7 +1417,7 @@ CREATE TABLE `x_system_log_sms` ( `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间', PRIMARY KEY (`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 117 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统短信日志表' ROW_FORMAT = DYNAMIC; +) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统短信日志表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of x_system_log_sms