lcfns.sql 90 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 本地链接
  4. Source Server Type : MySQL
  5. Source Server Version : 80033
  6. Source Host : localhost:3306
  7. Source Schema : lcfns
  8. Target Server Type : MySQL
  9. Target Server Version : 80033
  10. File Encoding : 65001
  11. Date: 16/10/2023 19:54:24
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for camera
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `camera`;
  19. CREATE TABLE `camera` (
  20. `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  21. `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'name',
  22. `gid` int NULL DEFAULT NULL COMMENT 'gateway_id网关id',
  23. `sn` char(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '摄像头sn',
  24. `mac_address` varchar(17) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'mac地址',
  25. `stream_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  26. `stream_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '流地址',
  27. `created_at` datetime(3) NULL DEFAULT NULL,
  28. `updated_at` datetime(3) NULL DEFAULT NULL,
  29. `deleted_at` datetime(3) NULL DEFAULT NULL,
  30. `is_registed` tinyint(1) UNSIGNED ZEROFILL NULL DEFAULT 0 COMMENT '是否已注册',
  31. `is_deleted` tinyint UNSIGNED NULL DEFAULT NULL COMMENT '1删除',
  32. `created_by` bigint UNSIGNED NULL DEFAULT NULL COMMENT '创建者',
  33. `updated_by` bigint UNSIGNED NULL DEFAULT NULL COMMENT '更新者',
  34. `deleted_by` bigint UNSIGNED NULL DEFAULT NULL COMMENT '删除者',
  35. PRIMARY KEY (`id`) USING BTREE,
  36. INDEX `idx_camera_deleted_at`(`deleted_at` ASC) USING BTREE
  37. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  38. -- ----------------------------
  39. -- Records of camera
  40. -- ----------------------------
  41. -- ----------------------------
  42. -- Table structure for casbin_rule
  43. -- ----------------------------
  44. DROP TABLE IF EXISTS `casbin_rule`;
  45. CREATE TABLE `casbin_rule` (
  46. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  47. `ptype` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  48. `v0` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  49. `v1` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  50. `v2` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  51. `v3` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  52. `v4` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  53. `v5` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  54. PRIMARY KEY (`id`) USING BTREE,
  55. UNIQUE INDEX `idx_casbin_rule`(`ptype` ASC, `v0` ASC, `v1` ASC, `v2` ASC, `v3` ASC, `v4` ASC, `v5` ASC) USING BTREE
  56. ) ENGINE = InnoDB AUTO_INCREMENT = 2689 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '拦截器' ROW_FORMAT = Dynamic;
  57. -- ----------------------------
  58. -- Records of casbin_rule
  59. -- ----------------------------
  60. INSERT INTO `casbin_rule` VALUES (2045, 'p', '2', '/jwt/jsonInBlacklist', 'POST', '', '', '');
  61. INSERT INTO `casbin_rule` VALUES (2051, 'p', '2', '/menu/getMenu', 'POST', '', '', '');
  62. INSERT INTO `casbin_rule` VALUES (2044, 'p', '2', '/test', 'POST', '', '', '');
  63. INSERT INTO `casbin_rule` VALUES (2046, 'p', '2', '/user/admin_register', 'POST', '', '', '');
  64. INSERT INTO `casbin_rule` VALUES (2049, 'p', '2', '/user/changePassword', 'POST', '', '', '');
  65. INSERT INTO `casbin_rule` VALUES (2048, 'p', '2', '/user/getUserInfo', 'GET', '', '', '');
  66. INSERT INTO `casbin_rule` VALUES (2050, 'p', '2', '/user/setUserAuthority', 'POST', '', '', '');
  67. INSERT INTO `casbin_rule` VALUES (2047, 'p', '2', '/user/setUserInfo', 'PUT', '', '', '');
  68. INSERT INTO `casbin_rule` VALUES (2701, 'p', '888', '/api/createApi', 'POST', '', '', '');
  69. INSERT INTO `casbin_rule` VALUES (2702, 'p', '888', '/api/deleteApi', 'POST', '', '', '');
  70. INSERT INTO `casbin_rule` VALUES (2707, 'p', '888', '/api/deleteApisByIds', 'DELETE', '', '', '');
  71. INSERT INTO `casbin_rule` VALUES (2705, 'p', '888', '/api/getAllApis', 'POST', '', '', '');
  72. INSERT INTO `casbin_rule` VALUES (2706, 'p', '888', '/api/getApiById', 'POST', '', '', '');
  73. INSERT INTO `casbin_rule` VALUES (2704, 'p', '888', '/api/getApiList', 'POST', '', '', '');
  74. INSERT INTO `casbin_rule` VALUES (2703, 'p', '888', '/api/updateApi', 'POST', '', '', '');
  75. INSERT INTO `casbin_rule` VALUES (2708, 'p', '888', '/authority/copyAuthority', 'POST', '', '', '');
  76. INSERT INTO `casbin_rule` VALUES (2709, 'p', '888', '/authority/createAuthority', 'POST', '', '', '');
  77. INSERT INTO `casbin_rule` VALUES (2710, 'p', '888', '/authority/deleteAuthority', 'POST', '', '', '');
  78. INSERT INTO `casbin_rule` VALUES (2712, 'p', '888', '/authority/getAuthorityList', 'POST', '', '', '');
  79. INSERT INTO `casbin_rule` VALUES (2713, 'p', '888', '/authority/setDataAuthority', 'POST', '', '', '');
  80. INSERT INTO `casbin_rule` VALUES (2711, 'p', '888', '/authority/updateAuthority', 'PUT', '', '', '');
  81. INSERT INTO `casbin_rule` VALUES (2777, 'p', '888', '/authorityBtn/canRemoveAuthorityBtn', 'POST', '', '', '');
  82. INSERT INTO `casbin_rule` VALUES (2776, 'p', '888', '/authorityBtn/getAuthorityBtn', 'POST', '', '', '');
  83. INSERT INTO `casbin_rule` VALUES (2775, 'p', '888', '/authorityBtn/setAuthorityBtn', 'POST', '', '', '');
  84. INSERT INTO `casbin_rule` VALUES (2749, 'p', '888', '/autoCode/createPackage', 'POST', '', '', '');
  85. INSERT INTO `casbin_rule` VALUES (2746, 'p', '888', '/autoCode/createPlug', 'POST', '', '', '');
  86. INSERT INTO `casbin_rule` VALUES (2743, 'p', '888', '/autoCode/createTemp', 'POST', '', '', '');
  87. INSERT INTO `casbin_rule` VALUES (2751, 'p', '888', '/autoCode/delPackage', 'POST', '', '', '');
  88. INSERT INTO `casbin_rule` VALUES (2755, 'p', '888', '/autoCode/delSysHistory', 'POST', '', '', '');
  89. INSERT INTO `casbin_rule` VALUES (2745, 'p', '888', '/autoCode/getColumn', 'GET', '', '', '');
  90. INSERT INTO `casbin_rule` VALUES (2741, 'p', '888', '/autoCode/getDB', 'GET', '', '', '');
  91. INSERT INTO `casbin_rule` VALUES (2752, 'p', '888', '/autoCode/getMeta', 'POST', '', '', '');
  92. INSERT INTO `casbin_rule` VALUES (2750, 'p', '888', '/autoCode/getPackage', 'POST', '', '', '');
  93. INSERT INTO `casbin_rule` VALUES (2754, 'p', '888', '/autoCode/getSysHistory', 'POST', '', '', '');
  94. INSERT INTO `casbin_rule` VALUES (2742, 'p', '888', '/autoCode/getTables', 'GET', '', '', '');
  95. INSERT INTO `casbin_rule` VALUES (2747, 'p', '888', '/autoCode/installPlugin', 'POST', '', '', '');
  96. INSERT INTO `casbin_rule` VALUES (2744, 'p', '888', '/autoCode/preview', 'POST', '', '', '');
  97. INSERT INTO `casbin_rule` VALUES (2748, 'p', '888', '/autoCode/pubPlug', 'POST', '', '', '');
  98. INSERT INTO `casbin_rule` VALUES (2753, 'p', '888', '/autoCode/rollback', 'POST', '', '', '');
  99. INSERT INTO `casbin_rule` VALUES (2782, 'p', '888', '/camera/createCamera', 'POST', '', '', '');
  100. INSERT INTO `casbin_rule` VALUES (2783, 'p', '888', '/camera/deleteCamera', 'DELETE', '', '', '');
  101. INSERT INTO `casbin_rule` VALUES (2784, 'p', '888', '/camera/deleteCameraByIds', 'DELETE', '', '', '');
  102. INSERT INTO `casbin_rule` VALUES (2786, 'p', '888', '/camera/findCamera', 'GET', '', '', '');
  103. INSERT INTO `casbin_rule` VALUES (2787, 'p', '888', '/camera/getCameraList', 'GET', '', '', '');
  104. INSERT INTO `casbin_rule` VALUES (2810, 'p', '888', '/camera/rewind', 'GET', '', '', '');
  105. INSERT INTO `casbin_rule` VALUES (2788, 'p', '888', '/camera/rewind', 'POST', '', '', '');
  106. INSERT INTO `casbin_rule` VALUES (2785, 'p', '888', '/camera/updateCamera', 'PUT', '', '', '');
  107. INSERT INTO `casbin_rule` VALUES (2715, 'p', '888', '/casbin/getPolicyPathByAuthorityId', 'POST', '', '', '');
  108. INSERT INTO `casbin_rule` VALUES (2714, 'p', '888', '/casbin/updateCasbin', 'POST', '', '', '');
  109. INSERT INTO `casbin_rule` VALUES (2779, 'p', '888', '/chatGpt/createSK', 'POST', '', '', '');
  110. INSERT INTO `casbin_rule` VALUES (2781, 'p', '888', '/chatGpt/deleteSK', 'DELETE', '', '', '');
  111. INSERT INTO `casbin_rule` VALUES (2780, 'p', '888', '/chatGpt/getSK', 'GET', '', '', '');
  112. INSERT INTO `casbin_rule` VALUES (2778, 'p', '888', '/chatGpt/getTable', 'POST', '', '', '');
  113. INSERT INTO `casbin_rule` VALUES (2738, 'p', '888', '/customer/customer', 'DELETE', '', '', '');
  114. INSERT INTO `casbin_rule` VALUES (2739, 'p', '888', '/customer/customer', 'GET', '', '', '');
  115. INSERT INTO `casbin_rule` VALUES (2737, 'p', '888', '/customer/customer', 'POST', '', '', '');
  116. INSERT INTO `casbin_rule` VALUES (2736, 'p', '888', '/customer/customer', 'PUT', '', '', '');
  117. INSERT INTO `casbin_rule` VALUES (2740, 'p', '888', '/customer/customerList', 'GET', '', '', '');
  118. INSERT INTO `casbin_rule` VALUES (2774, 'p', '888', '/email/emailTest', 'POST', '', '', '');
  119. INSERT INTO `casbin_rule` VALUES (2815, 'p', '888', '/event/dictionary', 'GET', '', '', '');
  120. INSERT INTO `casbin_rule` VALUES (2813, 'p', '888', '/event/list', 'GET', '', '', '');
  121. INSERT INTO `casbin_rule` VALUES (2726, 'p', '888', '/fileUploadAndDownload/breakpointContinue', 'POST', '', '', '');
  122. INSERT INTO `casbin_rule` VALUES (2727, 'p', '888', '/fileUploadAndDownload/breakpointContinueFinish', 'POST', '', '', '');
  123. INSERT INTO `casbin_rule` VALUES (2730, 'p', '888', '/fileUploadAndDownload/deleteFile', 'POST', '', '', '');
  124. INSERT INTO `casbin_rule` VALUES (2731, 'p', '888', '/fileUploadAndDownload/editFileName', 'POST', '', '', '');
  125. INSERT INTO `casbin_rule` VALUES (2725, 'p', '888', '/fileUploadAndDownload/findFile', 'GET', '', '', '');
  126. INSERT INTO `casbin_rule` VALUES (2732, 'p', '888', '/fileUploadAndDownload/getFileList', 'POST', '', '', '');
  127. INSERT INTO `casbin_rule` VALUES (2728, 'p', '888', '/fileUploadAndDownload/removeChunk', 'POST', '', '', '');
  128. INSERT INTO `casbin_rule` VALUES (2729, 'p', '888', '/fileUploadAndDownload/upload', 'POST', '', '', '');
  129. INSERT INTO `casbin_rule` VALUES (2808, 'p', '888', '/gateways/adminSet', 'PUT', '', '', '');
  130. INSERT INTO `casbin_rule` VALUES (2807, 'p', '888', '/gateways/all', 'GET', '', '', '');
  131. INSERT INTO `casbin_rule` VALUES (2811, 'p', '888', '/gateways/delete', 'DELETE', '', '', '');
  132. INSERT INTO `casbin_rule` VALUES (2812, 'p', '888', '/gateways/unbind', 'PUT', '', '', '');
  133. INSERT INTO `casbin_rule` VALUES (2809, 'p', '888', '/gateways/userSet', 'PUT', '', '', '');
  134. INSERT INTO `casbin_rule` VALUES (2823, 'p', '888', '/ipcast/ping', 'GET', '', '', '');
  135. INSERT INTO `casbin_rule` VALUES (2819, 'p', '888', '/ipcast/play', 'POST', '', '', '');
  136. INSERT INTO `casbin_rule` VALUES (2822, 'p', '888', '/ipcast/status', 'GET', '', '', '');
  137. INSERT INTO `casbin_rule` VALUES (2820, 'p', '888', '/ipcast/stop', 'DELETE', '', '', '');
  138. INSERT INTO `casbin_rule` VALUES (2821, 'p', '888', '/ipcast/volume', 'POST', '', '', '');
  139. INSERT INTO `casbin_rule` VALUES (2793, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/FieldDetection', 'GET', '', '', '');
  140. INSERT INTO `casbin_rule` VALUES (2794, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/FieldDetection', 'PUT', '', '', '');
  141. INSERT INTO `casbin_rule` VALUES (2798, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/linedetection', 'GET', '', '', '');
  142. INSERT INTO `casbin_rule` VALUES (2799, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/linedetection', 'PUT', '', '', '');
  143. INSERT INTO `casbin_rule` VALUES (2803, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/regionEntrance', 'GET', '', '', '');
  144. INSERT INTO `casbin_rule` VALUES (2804, 'p', '888', '/ISAPI/Smart/channels/1/calibrations/regionEntrance', 'PUT', '', '', '');
  145. INSERT INTO `casbin_rule` VALUES (2795, 'p', '888', '/ISAPI/Smart/FieldDetection/1', 'GET', '', '', '');
  146. INSERT INTO `casbin_rule` VALUES (2796, 'p', '888', '/ISAPI/Smart/FieldDetection/1', 'PUT', '', '', '');
  147. INSERT INTO `casbin_rule` VALUES (2792, 'p', '888', '/ISAPI/Smart/FieldDetection/1/capabilities', 'GET', '', '', '');
  148. INSERT INTO `casbin_rule` VALUES (2800, 'p', '888', '/ISAPI/Smart/LineDetection/1', 'GET', '', '', '');
  149. INSERT INTO `casbin_rule` VALUES (2801, 'p', '888', '/ISAPI/Smart/LineDetection/1', 'PUT', '', '', '');
  150. INSERT INTO `casbin_rule` VALUES (2797, 'p', '888', '/ISAPI/Smart/LineDetection/1/capabilities', 'GET', '', '', '');
  151. INSERT INTO `casbin_rule` VALUES (2805, 'p', '888', '/ISAPI/Smart/regionEntrance/1', 'GET', '', '', '');
  152. INSERT INTO `casbin_rule` VALUES (2806, 'p', '888', '/ISAPI/Smart/regionEntrance/1', 'PUT', '', '', '');
  153. INSERT INTO `casbin_rule` VALUES (2802, 'p', '888', '/ISAPI/Smart/regionEntrance/1/capabilities', 'GET', '', '', '');
  154. INSERT INTO `casbin_rule` VALUES (2790, 'p', '888', '/ISAPI/System/capabilities', 'GET', '', '', '');
  155. INSERT INTO `casbin_rule` VALUES (2789, 'p', '888', '/ISAPI/System/deviceInfo', 'GET', '', '', '');
  156. INSERT INTO `casbin_rule` VALUES (2791, 'p', '888', '/ISAPI/System/Network/mailing/1', 'PUT', '', '', '');
  157. INSERT INTO `casbin_rule` VALUES (2689, 'p', '888', '/jwt/jsonInBlacklist', 'POST', '', '', '');
  158. INSERT INTO `casbin_rule` VALUES (2716, 'p', '888', '/menu/addBaseMenu', 'POST', '', '', '');
  159. INSERT INTO `casbin_rule` VALUES (2724, 'p', '888', '/menu/addMenuAuthority', 'POST', '', '', '');
  160. INSERT INTO `casbin_rule` VALUES (2718, 'p', '888', '/menu/deleteBaseMenu', 'POST', '', '', '');
  161. INSERT INTO `casbin_rule` VALUES (2720, 'p', '888', '/menu/getBaseMenuById', 'POST', '', '', '');
  162. INSERT INTO `casbin_rule` VALUES (2722, 'p', '888', '/menu/getBaseMenuTree', 'POST', '', '', '');
  163. INSERT INTO `casbin_rule` VALUES (2717, 'p', '888', '/menu/getMenu', 'POST', '', '', '');
  164. INSERT INTO `casbin_rule` VALUES (2723, 'p', '888', '/menu/getMenuAuthority', 'POST', '', '', '');
  165. INSERT INTO `casbin_rule` VALUES (2721, 'p', '888', '/menu/getMenuList', 'POST', '', '', '');
  166. INSERT INTO `casbin_rule` VALUES (2719, 'p', '888', '/menu/updateBaseMenu', 'POST', '', '', '');
  167. INSERT INTO `casbin_rule` VALUES (2814, 'p', '888', '/picture/get', 'GET', '', '', '');
  168. INSERT INTO `casbin_rule` VALUES (2772, 'p', '888', '/simpleUploader/checkFileMd5', 'GET', '', '', '');
  169. INSERT INTO `casbin_rule` VALUES (2773, 'p', '888', '/simpleUploader/mergeFileMd5', 'GET', '', '', '');
  170. INSERT INTO `casbin_rule` VALUES (2771, 'p', '888', '/simpleUploader/upload', 'POST', '', '', '');
  171. INSERT INTO `casbin_rule` VALUES (2761, 'p', '888', '/sysDictionary/createSysDictionary', 'POST', '', '', '');
  172. INSERT INTO `casbin_rule` VALUES (2762, 'p', '888', '/sysDictionary/deleteSysDictionary', 'DELETE', '', '', '');
  173. INSERT INTO `casbin_rule` VALUES (2764, 'p', '888', '/sysDictionary/findSysDictionary', 'GET', '', '', '');
  174. INSERT INTO `casbin_rule` VALUES (2765, 'p', '888', '/sysDictionary/getSysDictionaryList', 'GET', '', '', '');
  175. INSERT INTO `casbin_rule` VALUES (2763, 'p', '888', '/sysDictionary/updateSysDictionary', 'PUT', '', '', '');
  176. INSERT INTO `casbin_rule` VALUES (2757, 'p', '888', '/sysDictionaryDetail/createSysDictionaryDetail', 'POST', '', '', '');
  177. INSERT INTO `casbin_rule` VALUES (2758, 'p', '888', '/sysDictionaryDetail/deleteSysDictionaryDetail', 'DELETE', '', '', '');
  178. INSERT INTO `casbin_rule` VALUES (2759, 'p', '888', '/sysDictionaryDetail/findSysDictionaryDetail', 'GET', '', '', '');
  179. INSERT INTO `casbin_rule` VALUES (2760, 'p', '888', '/sysDictionaryDetail/getSysDictionaryDetailList', 'GET', '', '', '');
  180. INSERT INTO `casbin_rule` VALUES (2756, 'p', '888', '/sysDictionaryDetail/updateSysDictionaryDetail', 'PUT', '', '', '');
  181. INSERT INTO `casbin_rule` VALUES (2766, 'p', '888', '/sysOperationRecord/createSysOperationRecord', 'POST', '', '', '');
  182. INSERT INTO `casbin_rule` VALUES (2769, 'p', '888', '/sysOperationRecord/deleteSysOperationRecord', 'DELETE', '', '', '');
  183. INSERT INTO `casbin_rule` VALUES (2770, 'p', '888', '/sysOperationRecord/deleteSysOperationRecordByIds', 'DELETE', '', '', '');
  184. INSERT INTO `casbin_rule` VALUES (2767, 'p', '888', '/sysOperationRecord/findSysOperationRecord', 'GET', '', '', '');
  185. INSERT INTO `casbin_rule` VALUES (2768, 'p', '888', '/sysOperationRecord/getSysOperationRecordList', 'GET', '', '', '');
  186. INSERT INTO `casbin_rule` VALUES (2733, 'p', '888', '/system/getServerInfo', 'POST', '', '', '');
  187. INSERT INTO `casbin_rule` VALUES (2734, 'p', '888', '/system/getSystemConfig', 'POST', '', '', '');
  188. INSERT INTO `casbin_rule` VALUES (2735, 'p', '888', '/system/setSystemConfig', 'POST', '', '', '');
  189. INSERT INTO `casbin_rule` VALUES (2816, 'p', '888', '/user/addEmails', 'POST', '', '', '');
  190. INSERT INTO `casbin_rule` VALUES (2691, 'p', '888', '/user/admin_register', 'POST', '', '', '');
  191. INSERT INTO `casbin_rule` VALUES (2697, 'p', '888', '/user/changePassword', 'POST', '', '', '');
  192. INSERT INTO `casbin_rule` VALUES (2817, 'p', '888', '/user/confirm', 'POST', '', '', '');
  193. INSERT INTO `casbin_rule` VALUES (2690, 'p', '888', '/user/deleteUser', 'DELETE', '', '', '');
  194. INSERT INTO `casbin_rule` VALUES (2695, 'p', '888', '/user/getUserInfo', 'GET', '', '', '');
  195. INSERT INTO `casbin_rule` VALUES (2692, 'p', '888', '/user/getUserList', 'POST', '', '', '');
  196. INSERT INTO `casbin_rule` VALUES (2700, 'p', '888', '/user/ids', 'GET', '', '', '');
  197. INSERT INTO `casbin_rule` VALUES (2699, 'p', '888', '/user/resetPassword', 'POST', '', '', '');
  198. INSERT INTO `casbin_rule` VALUES (2694, 'p', '888', '/user/setSelfInfo', 'PUT', '', '', '');
  199. INSERT INTO `casbin_rule` VALUES (2696, 'p', '888', '/user/setUserAuthorities', 'POST', '', '', '');
  200. INSERT INTO `casbin_rule` VALUES (2698, 'p', '888', '/user/setUserAuthority', 'POST', '', '', '');
  201. INSERT INTO `casbin_rule` VALUES (2693, 'p', '888', '/user/setUserInfo', 'PUT', '', '', '');
  202. INSERT INTO `casbin_rule` VALUES (2818, 'p', '888', '/user/unbindEmail', 'PUT', '', '', '');
  203. INSERT INTO `casbin_rule` VALUES (95, 'p', '8881', '/api/createApi', 'POST', '', '', '');
  204. INSERT INTO `casbin_rule` VALUES (98, 'p', '8881', '/api/deleteApi', 'POST', '', '', '');
  205. INSERT INTO `casbin_rule` VALUES (100, 'p', '8881', '/api/getAllApis', 'POST', '', '', '');
  206. INSERT INTO `casbin_rule` VALUES (97, 'p', '8881', '/api/getApiById', 'POST', '', '', '');
  207. INSERT INTO `casbin_rule` VALUES (96, 'p', '8881', '/api/getApiList', 'POST', '', '', '');
  208. INSERT INTO `casbin_rule` VALUES (99, 'p', '8881', '/api/updateApi', 'POST', '', '', '');
  209. INSERT INTO `casbin_rule` VALUES (101, 'p', '8881', '/authority/createAuthority', 'POST', '', '', '');
  210. INSERT INTO `casbin_rule` VALUES (102, 'p', '8881', '/authority/deleteAuthority', 'POST', '', '', '');
  211. INSERT INTO `casbin_rule` VALUES (103, 'p', '8881', '/authority/getAuthorityList', 'POST', '', '', '');
  212. INSERT INTO `casbin_rule` VALUES (104, 'p', '8881', '/authority/setDataAuthority', 'POST', '', '', '');
  213. INSERT INTO `casbin_rule` VALUES (122, 'p', '8881', '/casbin/getPolicyPathByAuthorityId', 'POST', '', '', '');
  214. INSERT INTO `casbin_rule` VALUES (121, 'p', '8881', '/casbin/updateCasbin', 'POST', '', '', '');
  215. INSERT INTO `casbin_rule` VALUES (128, 'p', '8881', '/customer/customer', 'DELETE', '', '', '');
  216. INSERT INTO `casbin_rule` VALUES (129, 'p', '8881', '/customer/customer', 'GET', '', '', '');
  217. INSERT INTO `casbin_rule` VALUES (126, 'p', '8881', '/customer/customer', 'POST', '', '', '');
  218. INSERT INTO `casbin_rule` VALUES (127, 'p', '8881', '/customer/customer', 'PUT', '', '', '');
  219. INSERT INTO `casbin_rule` VALUES (130, 'p', '8881', '/customer/customerList', 'GET', '', '', '');
  220. INSERT INTO `casbin_rule` VALUES (119, 'p', '8881', '/fileUploadAndDownload/deleteFile', 'POST', '', '', '');
  221. INSERT INTO `casbin_rule` VALUES (120, 'p', '8881', '/fileUploadAndDownload/editFileName', 'POST', '', '', '');
  222. INSERT INTO `casbin_rule` VALUES (118, 'p', '8881', '/fileUploadAndDownload/getFileList', 'POST', '', '', '');
  223. INSERT INTO `casbin_rule` VALUES (117, 'p', '8881', '/fileUploadAndDownload/upload', 'POST', '', '', '');
  224. INSERT INTO `casbin_rule` VALUES (123, 'p', '8881', '/jwt/jsonInBlacklist', 'POST', '', '', '');
  225. INSERT INTO `casbin_rule` VALUES (107, 'p', '8881', '/menu/addBaseMenu', 'POST', '', '', '');
  226. INSERT INTO `casbin_rule` VALUES (109, 'p', '8881', '/menu/addMenuAuthority', 'POST', '', '', '');
  227. INSERT INTO `casbin_rule` VALUES (111, 'p', '8881', '/menu/deleteBaseMenu', 'POST', '', '', '');
  228. INSERT INTO `casbin_rule` VALUES (113, 'p', '8881', '/menu/getBaseMenuById', 'POST', '', '', '');
  229. INSERT INTO `casbin_rule` VALUES (108, 'p', '8881', '/menu/getBaseMenuTree', 'POST', '', '', '');
  230. INSERT INTO `casbin_rule` VALUES (105, 'p', '8881', '/menu/getMenu', 'POST', '', '', '');
  231. INSERT INTO `casbin_rule` VALUES (110, 'p', '8881', '/menu/getMenuAuthority', 'POST', '', '', '');
  232. INSERT INTO `casbin_rule` VALUES (106, 'p', '8881', '/menu/getMenuList', 'POST', '', '', '');
  233. INSERT INTO `casbin_rule` VALUES (112, 'p', '8881', '/menu/updateBaseMenu', 'POST', '', '', '');
  234. INSERT INTO `casbin_rule` VALUES (124, 'p', '8881', '/system/getSystemConfig', 'POST', '', '', '');
  235. INSERT INTO `casbin_rule` VALUES (125, 'p', '8881', '/system/setSystemConfig', 'POST', '', '', '');
  236. INSERT INTO `casbin_rule` VALUES (94, 'p', '8881', '/user/admin_register', 'POST', '', '', '');
  237. INSERT INTO `casbin_rule` VALUES (114, 'p', '8881', '/user/changePassword', 'POST', '', '', '');
  238. INSERT INTO `casbin_rule` VALUES (131, 'p', '8881', '/user/getUserInfo', 'GET', '', '', '');
  239. INSERT INTO `casbin_rule` VALUES (115, 'p', '8881', '/user/getUserList', 'POST', '', '', '');
  240. INSERT INTO `casbin_rule` VALUES (116, 'p', '8881', '/user/setUserAuthority', 'POST', '', '', '');
  241. INSERT INTO `casbin_rule` VALUES (1716, 'p', '9528', '/api/createApi', 'POST', '', '', '');
  242. INSERT INTO `casbin_rule` VALUES (1717, 'p', '9528', '/api/deleteApi', 'POST', '', '', '');
  243. INSERT INTO `casbin_rule` VALUES (1720, 'p', '9528', '/api/getAllApis', 'POST', '', '', '');
  244. INSERT INTO `casbin_rule` VALUES (1721, 'p', '9528', '/api/getApiById', 'POST', '', '', '');
  245. INSERT INTO `casbin_rule` VALUES (1719, 'p', '9528', '/api/getApiList', 'POST', '', '', '');
  246. INSERT INTO `casbin_rule` VALUES (1718, 'p', '9528', '/api/updateApi', 'POST', '', '', '');
  247. INSERT INTO `casbin_rule` VALUES (1722, 'p', '9528', '/authority/createAuthority', 'POST', '', '', '');
  248. INSERT INTO `casbin_rule` VALUES (1723, 'p', '9528', '/authority/deleteAuthority', 'POST', '', '', '');
  249. INSERT INTO `casbin_rule` VALUES (1724, 'p', '9528', '/authority/getAuthorityList', 'POST', '', '', '');
  250. INSERT INTO `casbin_rule` VALUES (1725, 'p', '9528', '/authority/setDataAuthority', 'POST', '', '', '');
  251. INSERT INTO `casbin_rule` VALUES (1748, 'p', '9528', '/autoCode/createTemp', 'POST', '', '', '');
  252. INSERT INTO `casbin_rule` VALUES (1752, 'p', '9528', '/camera/rewind', 'GET', '', '', '');
  253. INSERT INTO `casbin_rule` VALUES (1727, 'p', '9528', '/casbin/getPolicyPathByAuthorityId', 'POST', '', '', '');
  254. INSERT INTO `casbin_rule` VALUES (1726, 'p', '9528', '/casbin/updateCasbin', 'POST', '', '', '');
  255. INSERT INTO `casbin_rule` VALUES (1745, 'p', '9528', '/customer/customer', 'DELETE', '', '', '');
  256. INSERT INTO `casbin_rule` VALUES (1746, 'p', '9528', '/customer/customer', 'GET', '', '', '');
  257. INSERT INTO `casbin_rule` VALUES (1744, 'p', '9528', '/customer/customer', 'POST', '', '', '');
  258. INSERT INTO `casbin_rule` VALUES (1743, 'p', '9528', '/customer/customer', 'PUT', '', '', '');
  259. INSERT INTO `casbin_rule` VALUES (1747, 'p', '9528', '/customer/customerList', 'GET', '', '', '');
  260. INSERT INTO `casbin_rule` VALUES (1738, 'p', '9528', '/fileUploadAndDownload/deleteFile', 'POST', '', '', '');
  261. INSERT INTO `casbin_rule` VALUES (1739, 'p', '9528', '/fileUploadAndDownload/editFileName', 'POST', '', '', '');
  262. INSERT INTO `casbin_rule` VALUES (1740, 'p', '9528', '/fileUploadAndDownload/getFileList', 'POST', '', '', '');
  263. INSERT INTO `casbin_rule` VALUES (1737, 'p', '9528', '/fileUploadAndDownload/upload', 'POST', '', '', '');
  264. INSERT INTO `casbin_rule` VALUES (1750, 'p', '9528', '/gateways/all', 'GET', '', '', '');
  265. INSERT INTO `casbin_rule` VALUES (1751, 'p', '9528', '/gateways/userSet', 'PUT', '', '', '');
  266. INSERT INTO `casbin_rule` VALUES (1757, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/FieldDetection', 'GET', '', '', '');
  267. INSERT INTO `casbin_rule` VALUES (1758, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/FieldDetection', 'PUT', '', '', '');
  268. INSERT INTO `casbin_rule` VALUES (1762, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/linedetection', 'GET', '', '', '');
  269. INSERT INTO `casbin_rule` VALUES (1763, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/linedetection', 'PUT', '', '', '');
  270. INSERT INTO `casbin_rule` VALUES (1767, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/regionEntrance', 'GET', '', '', '');
  271. INSERT INTO `casbin_rule` VALUES (1768, 'p', '9528', '/ISAPI/Smart/channels/1/calibrations/regionEntrance', 'PUT', '', '', '');
  272. INSERT INTO `casbin_rule` VALUES (1759, 'p', '9528', '/ISAPI/Smart/FieldDetection/1', 'GET', '', '', '');
  273. INSERT INTO `casbin_rule` VALUES (1760, 'p', '9528', '/ISAPI/Smart/FieldDetection/1', 'PUT', '', '', '');
  274. INSERT INTO `casbin_rule` VALUES (1756, 'p', '9528', '/ISAPI/Smart/FieldDetection/1/capabilities', 'GET', '', '', '');
  275. INSERT INTO `casbin_rule` VALUES (1764, 'p', '9528', '/ISAPI/Smart/LineDetection/1', 'GET', '', '', '');
  276. INSERT INTO `casbin_rule` VALUES (1765, 'p', '9528', '/ISAPI/Smart/LineDetection/1', 'PUT', '', '', '');
  277. INSERT INTO `casbin_rule` VALUES (1761, 'p', '9528', '/ISAPI/Smart/LineDetection/1/capabilities', 'GET', '', '', '');
  278. INSERT INTO `casbin_rule` VALUES (1769, 'p', '9528', '/ISAPI/Smart/regionEntrance/1', 'GET', '', '', '');
  279. INSERT INTO `casbin_rule` VALUES (1770, 'p', '9528', '/ISAPI/Smart/regionEntrance/1', 'PUT', '', '', '');
  280. INSERT INTO `casbin_rule` VALUES (1766, 'p', '9528', '/ISAPI/Smart/regionEntrance/1/capabilities', 'GET', '', '', '');
  281. INSERT INTO `casbin_rule` VALUES (1754, 'p', '9528', '/ISAPI/System/capabilities', 'GET', '', '', '');
  282. INSERT INTO `casbin_rule` VALUES (1753, 'p', '9528', '/ISAPI/System/deviceInfo', 'GET', '', '', '');
  283. INSERT INTO `casbin_rule` VALUES (1755, 'p', '9528', '/ISAPI/System/Network/mailing/1', 'PUT', '', '', '');
  284. INSERT INTO `casbin_rule` VALUES (1709, 'p', '9528', '/jwt/jsonInBlacklist', 'POST', '', '', '');
  285. INSERT INTO `casbin_rule` VALUES (1728, 'p', '9528', '/menu/addBaseMenu', 'POST', '', '', '');
  286. INSERT INTO `casbin_rule` VALUES (1736, 'p', '9528', '/menu/addMenuAuthority', 'POST', '', '', '');
  287. INSERT INTO `casbin_rule` VALUES (1730, 'p', '9528', '/menu/deleteBaseMenu', 'POST', '', '', '');
  288. INSERT INTO `casbin_rule` VALUES (1732, 'p', '9528', '/menu/getBaseMenuById', 'POST', '', '', '');
  289. INSERT INTO `casbin_rule` VALUES (1734, 'p', '9528', '/menu/getBaseMenuTree', 'POST', '', '', '');
  290. INSERT INTO `casbin_rule` VALUES (1729, 'p', '9528', '/menu/getMenu', 'POST', '', '', '');
  291. INSERT INTO `casbin_rule` VALUES (1735, 'p', '9528', '/menu/getMenuAuthority', 'POST', '', '', '');
  292. INSERT INTO `casbin_rule` VALUES (1733, 'p', '9528', '/menu/getMenuList', 'POST', '', '', '');
  293. INSERT INTO `casbin_rule` VALUES (1731, 'p', '9528', '/menu/updateBaseMenu', 'POST', '', '', '');
  294. INSERT INTO `casbin_rule` VALUES (1741, 'p', '9528', '/system/getSystemConfig', 'POST', '', '', '');
  295. INSERT INTO `casbin_rule` VALUES (1742, 'p', '9528', '/system/setSystemConfig', 'POST', '', '', '');
  296. INSERT INTO `casbin_rule` VALUES (1710, 'p', '9528', '/user/admin_register', 'POST', '', '', '');
  297. INSERT INTO `casbin_rule` VALUES (1713, 'p', '9528', '/user/changePassword', 'POST', '', '', '');
  298. INSERT INTO `casbin_rule` VALUES (1712, 'p', '9528', '/user/getUserInfo', 'GET', '', '', '');
  299. INSERT INTO `casbin_rule` VALUES (1711, 'p', '9528', '/user/getUserList', 'POST', '', '', '');
  300. INSERT INTO `casbin_rule` VALUES (1715, 'p', '9528', '/user/ids', 'GET', '', '', '');
  301. INSERT INTO `casbin_rule` VALUES (1714, 'p', '9528', '/user/setUserAuthority', 'POST', '', '', '');
  302. -- ----------------------------
  303. -- Table structure for event
  304. -- ----------------------------
  305. DROP TABLE IF EXISTS `event`;
  306. CREATE TABLE `event` (
  307. `id` int NOT NULL AUTO_INCREMENT,
  308. `event_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报警类型',
  309. `event_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '事件识别码',
  310. `mac_address` varchar(17) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '摄像头mac地址',
  311. `start_time` datetime NULL DEFAULT NULL COMMENT '触发时间',
  312. `handle_time` datetime NULL DEFAULT NULL COMMENT '处理时间',
  313. `handle_by` int NULL DEFAULT NULL COMMENT '处理人id',
  314. PRIMARY KEY (`id`) USING BTREE
  315. ) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  316. -- ----------------------------
  317. -- Records of event
  318. -- ----------------------------
  319. -- ----------------------------
  320. -- Table structure for gateway
  321. -- ----------------------------
  322. DROP TABLE IF EXISTS `gateway`;
  323. CREATE TABLE `gateway` (
  324. `id` int NOT NULL AUTO_INCREMENT,
  325. `gateway_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  326. `uid` int NULL DEFAULT NULL COMMENT '所属用户id',
  327. `isn` char(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内部sn',
  328. `osn` char(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '外部sn',
  329. `created_at` datetime NULL DEFAULT NULL,
  330. `updated_at` datetime NULL DEFAULT NULL,
  331. `deleted_at` datetime NULL DEFAULT NULL,
  332. `is_deleted` tinyint(1) NULL DEFAULT NULL COMMENT '1删除',
  333. `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  334. PRIMARY KEY (`id`) USING BTREE
  335. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  336. -- ----------------------------
  337. -- Records of gateway
  338. -- ----------------------------
  339. -- ----------------------------
  340. -- Table structure for ipcast
  341. -- ----------------------------
  342. DROP TABLE IF EXISTS `ipcast`;
  343. CREATE TABLE `ipcast` (
  344. `id` int NOT NULL AUTO_INCREMENT,
  345. `device_id` int NULL DEFAULT NULL,
  346. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  347. `gid` int NULL DEFAULT NULL COMMENT '关联网关id',
  348. `state` tinyint(1) NULL DEFAULT NULL COMMENT '0离线,1在线',
  349. `is_deleted` tinyint(1) NULL DEFAULT NULL COMMENT '1删除',
  350. PRIMARY KEY (`id`) USING BTREE
  351. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = 'ip音柱' ROW_FORMAT = Dynamic;
  352. -- ----------------------------
  353. -- Records of ipcast
  354. -- ----------------------------
  355. -- ----------------------------
  356. -- Table structure for jwt_blacklists
  357. -- ----------------------------
  358. DROP TABLE IF EXISTS `jwt_blacklists`;
  359. CREATE TABLE `jwt_blacklists` (
  360. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  361. `created_at` datetime(3) NULL DEFAULT NULL,
  362. `updated_at` datetime(3) NULL DEFAULT NULL,
  363. `deleted_at` datetime(3) NULL DEFAULT NULL,
  364. `jwt` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'jwt',
  365. PRIMARY KEY (`id`) USING BTREE,
  366. INDEX `idx_jwt_blacklists_deleted_at`(`deleted_at` ASC) USING BTREE
  367. ) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  368. -- ----------------------------
  369. -- Records of jwt_blacklists
  370. -- ----------------------------
  371. -- ----------------------------
  372. -- Table structure for picture
  373. -- ----------------------------
  374. DROP TABLE IF EXISTS `picture`;
  375. CREATE TABLE `picture` (
  376. `id` int NOT NULL AUTO_INCREMENT,
  377. `event_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '事件id',
  378. `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片文件名',
  379. `time` datetime NULL DEFAULT NULL COMMENT '图片数据',
  380. `mime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'MIME类型',
  381. `size` int NULL DEFAULT NULL COMMENT '图片大小',
  382. `data_id` int NULL DEFAULT NULL COMMENT '对应表picture_data中的id',
  383. PRIMARY KEY (`id`) USING BTREE
  384. ) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  385. -- ----------------------------
  386. -- Records of picture
  387. -- ----------------------------
  388. -- ----------------------------
  389. -- Table structure for picture_data
  390. -- ----------------------------
  391. DROP TABLE IF EXISTS `picture_data`;
  392. CREATE TABLE `picture_data` (
  393. `id` int NOT NULL AUTO_INCREMENT,
  394. `data` mediumblob NULL,
  395. PRIMARY KEY (`id`) USING BTREE
  396. ) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  397. -- ----------------------------
  398. -- Records of picture_data
  399. -- ----------------------------
  400. -- ----------------------------
  401. -- Table structure for sip
  402. -- ----------------------------
  403. DROP TABLE IF EXISTS `sip`;
  404. CREATE TABLE `sip` (
  405. `id` smallint NOT NULL AUTO_INCREMENT,
  406. `user_id` smallint UNSIGNED NULL DEFAULT NULL,
  407. PRIMARY KEY (`id`) USING BTREE
  408. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  409. -- ----------------------------
  410. -- Records of sip
  411. -- ----------------------------
  412. INSERT INTO `sip` VALUES (1, 1);
  413. -- ----------------------------
  414. -- Table structure for sys_apis
  415. -- ----------------------------
  416. DROP TABLE IF EXISTS `sys_apis`;
  417. CREATE TABLE `sys_apis` (
  418. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  419. `created_at` datetime(3) NULL DEFAULT NULL,
  420. `updated_at` datetime(3) NULL DEFAULT NULL,
  421. `deleted_at` datetime(3) NULL DEFAULT NULL,
  422. `path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'api路径',
  423. `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'api中文描述',
  424. `api_group` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'api组',
  425. `method` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'POST' COMMENT '方法',
  426. PRIMARY KEY (`id`) USING BTREE,
  427. INDEX `idx_sys_apis_deleted_at`(`deleted_at` ASC) USING BTREE
  428. ) ENGINE = InnoDB AUTO_INCREMENT = 161 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;
  429. -- ----------------------------
  430. -- Records of sys_apis
  431. -- ----------------------------
  432. INSERT INTO `sys_apis` VALUES (1, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/jwt/jsonInBlacklist', 'jwt加入黑名单(退出,必选)', 'jwt', 'POST');
  433. INSERT INTO `sys_apis` VALUES (2, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/deleteUser', '删除用户', '系统用户', 'DELETE');
  434. INSERT INTO `sys_apis` VALUES (3, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/admin_register', '用户注册', '系统用户', 'POST');
  435. INSERT INTO `sys_apis` VALUES (4, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/getUserList', '获取用户列表', '系统用户', 'POST');
  436. INSERT INTO `sys_apis` VALUES (5, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/setUserInfo', '设置用户信息', '系统用户', 'PUT');
  437. INSERT INTO `sys_apis` VALUES (6, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/setSelfInfo', '设置自身信息(必选)', '系统用户', 'PUT');
  438. INSERT INTO `sys_apis` VALUES (7, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/getUserInfo', '获取自身信息(必选)', '系统用户', 'GET');
  439. INSERT INTO `sys_apis` VALUES (8, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/setUserAuthorities', '设置权限组', '系统用户', 'POST');
  440. INSERT INTO `sys_apis` VALUES (9, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/changePassword', '修改密码(建议选择)', '系统用户', 'POST');
  441. INSERT INTO `sys_apis` VALUES (10, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/setUserAuthority', '修改用户角色(必选)', '系统用户', 'POST');
  442. INSERT INTO `sys_apis` VALUES (11, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/user/resetPassword', '重置用户密码', '系统用户', 'POST');
  443. INSERT INTO `sys_apis` VALUES (12, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/createApi', '创建api', 'api', 'POST');
  444. INSERT INTO `sys_apis` VALUES (13, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/deleteApi', '删除Api', 'api', 'POST');
  445. INSERT INTO `sys_apis` VALUES (14, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/updateApi', '更新Api', 'api', 'POST');
  446. INSERT INTO `sys_apis` VALUES (15, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/getApiList', '获取api列表', 'api', 'POST');
  447. INSERT INTO `sys_apis` VALUES (16, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/getAllApis', '获取所有api', 'api', 'POST');
  448. INSERT INTO `sys_apis` VALUES (17, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/getApiById', '获取api详细信息', 'api', 'POST');
  449. INSERT INTO `sys_apis` VALUES (18, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/api/deleteApisByIds', '批量删除api', 'api', 'DELETE');
  450. INSERT INTO `sys_apis` VALUES (19, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/copyAuthority', '拷贝角色', '角色', 'POST');
  451. INSERT INTO `sys_apis` VALUES (20, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/createAuthority', '创建角色', '角色', 'POST');
  452. INSERT INTO `sys_apis` VALUES (21, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/deleteAuthority', '删除角色', '角色', 'POST');
  453. INSERT INTO `sys_apis` VALUES (22, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/updateAuthority', '更新角色信息', '角色', 'PUT');
  454. INSERT INTO `sys_apis` VALUES (23, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/getAuthorityList', '获取角色列表', '角色', 'POST');
  455. INSERT INTO `sys_apis` VALUES (24, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authority/setDataAuthority', '设置角色资源权限', '角色', 'POST');
  456. INSERT INTO `sys_apis` VALUES (25, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/casbin/updateCasbin', '更改角色api权限', 'casbin', 'POST');
  457. INSERT INTO `sys_apis` VALUES (26, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/casbin/getPolicyPathByAuthorityId', '获取权限列表', 'casbin', 'POST');
  458. INSERT INTO `sys_apis` VALUES (27, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/addBaseMenu', '新增菜单', '菜单', 'POST');
  459. INSERT INTO `sys_apis` VALUES (28, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/getMenu', '获取菜单树(必选)', '菜单', 'POST');
  460. INSERT INTO `sys_apis` VALUES (29, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/deleteBaseMenu', '删除菜单', '菜单', 'POST');
  461. INSERT INTO `sys_apis` VALUES (30, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/updateBaseMenu', '更新菜单', '菜单', 'POST');
  462. INSERT INTO `sys_apis` VALUES (31, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/getBaseMenuById', '根据id获取菜单', '菜单', 'POST');
  463. INSERT INTO `sys_apis` VALUES (32, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/getMenuList', '分页获取基础menu列表', '菜单', 'POST');
  464. INSERT INTO `sys_apis` VALUES (33, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/getBaseMenuTree', '获取用户动态路由', '菜单', 'POST');
  465. INSERT INTO `sys_apis` VALUES (34, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/getMenuAuthority', '获取指定角色menu', '菜单', 'POST');
  466. INSERT INTO `sys_apis` VALUES (35, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/menu/addMenuAuthority', '增加menu和角色关联关系', '菜单', 'POST');
  467. INSERT INTO `sys_apis` VALUES (36, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/findFile', '寻找目标文件(秒传)', '分片上传', 'GET');
  468. INSERT INTO `sys_apis` VALUES (37, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/breakpointContinue', '断点续传', '分片上传', 'POST');
  469. INSERT INTO `sys_apis` VALUES (38, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/breakpointContinueFinish', '断点续传完成', '分片上传', 'POST');
  470. INSERT INTO `sys_apis` VALUES (39, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/removeChunk', '上传完成移除文件', '分片上传', 'POST');
  471. INSERT INTO `sys_apis` VALUES (40, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/upload', '文件上传示例', '文件上传与下载', 'POST');
  472. INSERT INTO `sys_apis` VALUES (41, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/deleteFile', '删除文件', '文件上传与下载', 'POST');
  473. INSERT INTO `sys_apis` VALUES (42, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/editFileName', '文件名或者备注编辑', '文件上传与下载', 'POST');
  474. INSERT INTO `sys_apis` VALUES (43, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/fileUploadAndDownload/getFileList', '获取上传文件列表', '文件上传与下载', 'POST');
  475. INSERT INTO `sys_apis` VALUES (44, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/system/getServerInfo', '获取服务器信息', '系统服务', 'POST');
  476. INSERT INTO `sys_apis` VALUES (45, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/system/getSystemConfig', '获取配置文件内容', '系统服务', 'POST');
  477. INSERT INTO `sys_apis` VALUES (46, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/system/setSystemConfig', '设置配置文件内容', '系统服务', 'POST');
  478. INSERT INTO `sys_apis` VALUES (47, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/customer/customer', '更新客户', '客户', 'PUT');
  479. INSERT INTO `sys_apis` VALUES (48, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/customer/customer', '创建客户', '客户', 'POST');
  480. INSERT INTO `sys_apis` VALUES (49, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/customer/customer', '删除客户', '客户', 'DELETE');
  481. INSERT INTO `sys_apis` VALUES (50, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/customer/customer', '获取单一客户', '客户', 'GET');
  482. INSERT INTO `sys_apis` VALUES (51, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/customer/customerList', '获取客户列表', '客户', 'GET');
  483. INSERT INTO `sys_apis` VALUES (52, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getDB', '获取所有数据库', '代码生成器', 'GET');
  484. INSERT INTO `sys_apis` VALUES (53, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getTables', '获取数据库表', '代码生成器', 'GET');
  485. INSERT INTO `sys_apis` VALUES (54, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/createTemp', '自动化代码', '代码生成器', 'POST');
  486. INSERT INTO `sys_apis` VALUES (55, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/preview', '预览自动化代码', '代码生成器', 'POST');
  487. INSERT INTO `sys_apis` VALUES (56, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getColumn', '获取所选table的所有字段', '代码生成器', 'GET');
  488. INSERT INTO `sys_apis` VALUES (57, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/createPlug', '自动创建插件包', '代码生成器', 'POST');
  489. INSERT INTO `sys_apis` VALUES (58, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/installPlugin', '安装插件', '代码生成器', 'POST');
  490. INSERT INTO `sys_apis` VALUES (59, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/pubPlug', '打包插件', '代码生成器', 'POST');
  491. INSERT INTO `sys_apis` VALUES (60, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/createPackage', '生成包(package)', '包(pkg)生成器', 'POST');
  492. INSERT INTO `sys_apis` VALUES (61, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getPackage', '获取所有包(package)', '包(pkg)生成器', 'POST');
  493. INSERT INTO `sys_apis` VALUES (62, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/delPackage', '删除包(package)', '包(pkg)生成器', 'POST');
  494. INSERT INTO `sys_apis` VALUES (63, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getMeta', '获取meta信息', '代码生成器历史', 'POST');
  495. INSERT INTO `sys_apis` VALUES (64, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/rollback', '回滚自动生成代码', '代码生成器历史', 'POST');
  496. INSERT INTO `sys_apis` VALUES (65, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/getSysHistory', '查询回滚记录', '代码生成器历史', 'POST');
  497. INSERT INTO `sys_apis` VALUES (66, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/autoCode/delSysHistory', '删除回滚记录', '代码生成器历史', 'POST');
  498. INSERT INTO `sys_apis` VALUES (67, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionaryDetail/updateSysDictionaryDetail', '更新字典内容', '系统字典详情', 'PUT');
  499. INSERT INTO `sys_apis` VALUES (68, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionaryDetail/createSysDictionaryDetail', '新增字典内容', '系统字典详情', 'POST');
  500. INSERT INTO `sys_apis` VALUES (69, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionaryDetail/deleteSysDictionaryDetail', '删除字典内容', '系统字典详情', 'DELETE');
  501. INSERT INTO `sys_apis` VALUES (70, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionaryDetail/findSysDictionaryDetail', '根据ID获取字典内容', '系统字典详情', 'GET');
  502. INSERT INTO `sys_apis` VALUES (71, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionaryDetail/getSysDictionaryDetailList', '获取字典内容列表', '系统字典详情', 'GET');
  503. INSERT INTO `sys_apis` VALUES (72, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionary/createSysDictionary', '新增字典', '系统字典', 'POST');
  504. INSERT INTO `sys_apis` VALUES (73, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionary/deleteSysDictionary', '删除字典', '系统字典', 'DELETE');
  505. INSERT INTO `sys_apis` VALUES (74, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionary/updateSysDictionary', '更新字典', '系统字典', 'PUT');
  506. INSERT INTO `sys_apis` VALUES (75, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionary/findSysDictionary', '根据ID获取字典', '系统字典', 'GET');
  507. INSERT INTO `sys_apis` VALUES (76, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysDictionary/getSysDictionaryList', '获取字典列表', '系统字典', 'GET');
  508. INSERT INTO `sys_apis` VALUES (77, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysOperationRecord/createSysOperationRecord', '新增操作记录', '操作记录', 'POST');
  509. INSERT INTO `sys_apis` VALUES (78, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysOperationRecord/findSysOperationRecord', '根据ID获取操作记录', '操作记录', 'GET');
  510. INSERT INTO `sys_apis` VALUES (79, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysOperationRecord/getSysOperationRecordList', '获取操作记录列表', '操作记录', 'GET');
  511. INSERT INTO `sys_apis` VALUES (80, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysOperationRecord/deleteSysOperationRecord', '删除操作记录', '操作记录', 'DELETE');
  512. INSERT INTO `sys_apis` VALUES (81, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/sysOperationRecord/deleteSysOperationRecordByIds', '批量删除操作历史', '操作记录', 'DELETE');
  513. INSERT INTO `sys_apis` VALUES (82, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/simpleUploader/upload', '插件版分片上传', '断点续传(插件版)', 'POST');
  514. INSERT INTO `sys_apis` VALUES (83, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/simpleUploader/checkFileMd5', '文件完整度验证', '断点续传(插件版)', 'GET');
  515. INSERT INTO `sys_apis` VALUES (84, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/simpleUploader/mergeFileMd5', '上传完成合并文件', '断点续传(插件版)', 'GET');
  516. INSERT INTO `sys_apis` VALUES (85, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/email/emailTest', '发送测试邮件', 'email', 'POST');
  517. INSERT INTO `sys_apis` VALUES (86, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/email/emailSend', '发送邮件示例', 'email', 'POST');
  518. INSERT INTO `sys_apis` VALUES (87, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authorityBtn/setAuthorityBtn', '设置按钮权限', '按钮权限', 'POST');
  519. INSERT INTO `sys_apis` VALUES (88, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authorityBtn/getAuthorityBtn', '获取已有按钮权限', '按钮权限', 'POST');
  520. INSERT INTO `sys_apis` VALUES (89, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/authorityBtn/canRemoveAuthorityBtn', '删除按钮', '按钮权限', 'POST');
  521. INSERT INTO `sys_apis` VALUES (90, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/chatGpt/getTable', '通过gpt获取内容', '万用表格', 'POST');
  522. INSERT INTO `sys_apis` VALUES (91, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/chatGpt/createSK', '录入sk', '万用表格', 'POST');
  523. INSERT INTO `sys_apis` VALUES (92, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/chatGpt/getSK', '获取sk', '万用表格', 'GET');
  524. INSERT INTO `sys_apis` VALUES (93, '2023-08-14 16:16:30.769', '2023-08-14 16:16:30.769', NULL, '/chatGpt/deleteSK', '删除sk', '万用表格', 'DELETE');
  525. INSERT INTO `sys_apis` VALUES (94, '2023-08-28 11:12:43.553', '2023-08-28 11:12:43.553', NULL, '/camera/createCamera', '新增摄像头', '摄像头', 'POST');
  526. INSERT INTO `sys_apis` VALUES (95, '2023-08-28 11:12:43.634', '2023-08-28 11:12:43.634', NULL, '/camera/deleteCamera', '删除摄像头', '摄像头', 'DELETE');
  527. INSERT INTO `sys_apis` VALUES (96, '2023-08-28 11:12:43.635', '2023-08-28 11:12:43.635', NULL, '/camera/deleteCameraByIds', '批量删除摄像头', '摄像头', 'DELETE');
  528. INSERT INTO `sys_apis` VALUES (97, '2023-08-28 11:12:43.635', '2023-08-28 11:12:43.635', NULL, '/camera/updateCamera', '更新摄像头', '摄像头', 'PUT');
  529. INSERT INTO `sys_apis` VALUES (98, '2023-08-28 11:12:43.636', '2023-08-28 11:12:43.636', NULL, '/camera/findCamera', '根据ID获取摄像头', '摄像头', 'GET');
  530. INSERT INTO `sys_apis` VALUES (99, '2023-08-28 11:12:43.636', '2023-08-28 11:12:43.636', NULL, '/camera/getCameraList', '获取摄像头列表', '摄像头', 'GET');
  531. INSERT INTO `sys_apis` VALUES (100, '2023-09-20 09:24:45.435', '2023-09-20 09:26:27.728', NULL, '/camera/rewind', '回放', '摄像头', 'POST');
  532. INSERT INTO `sys_apis` VALUES (101, '2023-09-27 16:59:47.998', '2023-09-27 16:59:47.998', NULL, '/ISAPI/System/deviceInfo', '获取设备信息', 'isapi', 'GET');
  533. INSERT INTO `sys_apis` VALUES (102, '2023-09-27 21:45:23.869', '2023-09-27 21:45:23.869', NULL, '/ISAPI/System/capabilities', '系统能力', 'isapi', 'GET');
  534. INSERT INTO `sys_apis` VALUES (103, '2023-09-27 21:46:31.579', '2023-09-27 21:46:31.579', NULL, '/ISAPI/System/Network/mailing/1', '添加邮箱', 'isapi', 'PUT');
  535. INSERT INTO `sys_apis` VALUES (104, '2023-09-27 21:48:59.118', '2023-09-27 21:51:22.338', NULL, '/ISAPI/Smart/FieldDetection/1/capabilities', '查询进入区域参数能力', 'isapi', 'GET');
  536. INSERT INTO `sys_apis` VALUES (105, '2023-09-27 21:49:34.389', '2023-09-27 21:50:25.668', NULL, '/ISAPI/Smart/channels/1/calibrations/FieldDetection', '查询FieldDetection目标参数', 'isapi', 'GET');
  537. INSERT INTO `sys_apis` VALUES (106, '2023-09-27 21:51:09.965', '2023-09-27 21:51:09.965', NULL, '/ISAPI/Smart/channels/1/calibrations/FieldDetection', '配置FieldDetection目标参数', 'isapi', 'PUT');
  538. INSERT INTO `sys_apis` VALUES (107, '2023-09-27 21:52:15.697', '2023-09-27 21:52:15.697', NULL, '/ISAPI/Smart/FieldDetection/1', '查询FieldDetection参数', 'isapi', 'GET');
  539. INSERT INTO `sys_apis` VALUES (108, '2023-09-27 21:52:38.766', '2023-09-27 21:52:38.766', NULL, '/ISAPI/Smart/FieldDetection/1', '配置FieldDetection参数', 'isapi', 'PUT');
  540. INSERT INTO `sys_apis` VALUES (109, '2023-09-27 21:53:29.238', '2023-09-27 21:53:29.238', NULL, '/ISAPI/Smart/LineDetection/1/capabilities', '查询LineDetection能力', 'isapi', 'GET');
  541. INSERT INTO `sys_apis` VALUES (110, '2023-09-27 21:53:53.848', '2023-09-27 21:53:53.848', NULL, '/ISAPI/Smart/channels/1/calibrations/linedetection', '查询linedetection目标参数', 'isapi', 'GET');
  542. INSERT INTO `sys_apis` VALUES (111, '2023-09-27 21:54:15.721', '2023-09-27 21:54:15.721', NULL, '/ISAPI/Smart/channels/1/calibrations/linedetection', '配置linedetection目标参数', 'isapi', 'PUT');
  543. INSERT INTO `sys_apis` VALUES (112, '2023-09-27 21:54:39.044', '2023-09-27 21:54:39.044', NULL, '/ISAPI/Smart/LineDetection/1', '查询LineDetection参数', 'isapi', 'GET');
  544. INSERT INTO `sys_apis` VALUES (113, '2023-09-27 21:55:09.863', '2023-09-27 21:55:09.863', NULL, '/ISAPI/Smart/LineDetection/1', '配置LineDetection参数', 'isapi', 'PUT');
  545. INSERT INTO `sys_apis` VALUES (114, '2023-09-27 21:55:43.498', '2023-09-27 21:55:43.498', NULL, '/ISAPI/Smart/regionEntrance/1/capabilities', '查询regionEntrance能力', 'isapi', 'GET');
  546. INSERT INTO `sys_apis` VALUES (115, '2023-09-27 21:56:07.032', '2023-09-27 21:56:07.032', NULL, '/ISAPI/Smart/channels/1/calibrations/regionEntrance', '查询regionEntrance目标参数', 'isapi', 'GET');
  547. INSERT INTO `sys_apis` VALUES (116, '2023-09-27 21:56:31.496', '2023-09-27 21:56:31.496', NULL, '/ISAPI/Smart/channels/1/calibrations/regionEntrance', '配置regionEntrance目标参数', 'isapi', 'PUT');
  548. INSERT INTO `sys_apis` VALUES (117, '2023-09-27 21:56:53.227', '2023-09-27 21:56:53.227', NULL, '/ISAPI/Smart/regionEntrance/1', '查询regionEntrance参数', 'isapi', 'GET');
  549. INSERT INTO `sys_apis` VALUES (118, '2023-09-27 21:57:13.526', '2023-09-27 21:57:13.526', NULL, '/ISAPI/Smart/regionEntrance/1', '配置regionEntrance参数', 'isapi', 'PUT');
  550. INSERT INTO `sys_apis` VALUES (119, '2023-10-11 11:16:35.567', '2023-10-11 11:20:11.171', NULL, '/gateways/all', '获取设备列表', 'app', 'GET');
  551. INSERT INTO `sys_apis` VALUES (120, '2023-10-11 11:18:02.988', '2023-10-11 11:18:02.988', NULL, '/gateways/adminSet', '管理员设置信息', 'app', 'PUT');
  552. INSERT INTO `sys_apis` VALUES (121, '2023-10-11 11:18:20.970', '2023-10-11 11:18:20.970', NULL, '/gateways/userSet', '用户设置信息', 'app', 'PUT');
  553. INSERT INTO `sys_apis` VALUES (122, '2023-10-11 16:53:34.767', '2023-10-11 16:53:34.767', NULL, '/camera/rewind', '获取回放视频url', 'app', 'GET');
  554. INSERT INTO `sys_apis` VALUES (123, '2023-10-11 17:04:20.869', '2023-10-11 17:04:20.869', NULL, '/user/ids', '查询用户id列表', '系统用户', 'GET');
  555. INSERT INTO `sys_apis` VALUES (124, '2023-10-12 11:41:35.467', '2023-10-12 11:41:35.467', NULL, '/gateways/delete', '删除网关及关联设备', 'app', 'DELETE');
  556. INSERT INTO `sys_apis` VALUES (125, '2023-10-12 14:17:38.125', '2023-10-12 14:17:38.125', NULL, '/gateways/unbind', '解绑网关', 'app', 'PUT');
  557. INSERT INTO `sys_apis` VALUES (126, '2023-10-12 16:17:24.864', '2023-10-12 16:23:01.530', NULL, '/test', '测试修改api', '1', 'POST');
  558. INSERT INTO `sys_apis` VALUES (127, '2023-10-13 10:57:01.356', '2023-10-13 10:57:01.356', NULL, '/event/list', '事件列表', 'app', 'GET');
  559. INSERT INTO `sys_apis` VALUES (128, '2023-10-13 16:05:49.382', '2023-10-13 16:05:49.382', NULL, '/picture/get', '获取图片', 'app', 'GET');
  560. INSERT INTO `sys_apis` VALUES (129, '2023-10-13 20:17:51.550', '2023-10-13 20:18:34.496', NULL, '/event/dictionary', '获取事件类型字典', 'app', 'GET');
  561. INSERT INTO `sys_apis` VALUES (130, '2023-10-14 10:05:44.690', '2023-10-14 10:07:19.971', NULL, '/user/addEmails', '添加报警邮箱', 'app', 'POST');
  562. INSERT INTO `sys_apis` VALUES (131, '2023-10-14 10:06:10.699', '2023-10-14 10:06:10.699', NULL, '/user/confirm', '邮箱确认', 'app', 'POST');
  563. INSERT INTO `sys_apis` VALUES (132, '2023-10-14 16:55:08.167', '2023-10-14 16:55:08.167', NULL, '/user/unbindEmail', '解绑邮箱', 'app', 'PUT');
  564. INSERT INTO `sys_apis` VALUES (133, '2023-10-16 16:12:00.721', '2023-10-16 16:12:00.721', NULL, '/ipcast/play', '播放', 'ipcast', 'POST');
  565. INSERT INTO `sys_apis` VALUES (134, '2023-10-16 16:12:19.576', '2023-10-16 16:12:19.576', NULL, '/ipcast/stop', '停止播放', 'ipcast', 'DELETE');
  566. INSERT INTO `sys_apis` VALUES (135, '2023-10-16 16:12:45.065', '2023-10-16 16:12:45.065', NULL, '/ipcast/volume', '设置音量', 'ipcast', 'POST');
  567. INSERT INTO `sys_apis` VALUES (136, '2023-10-16 16:13:57.287', '2023-10-16 16:13:57.287', NULL, '/ipcast/status', '查询播放状态', 'ipcast', 'GET');
  568. INSERT INTO `sys_apis` VALUES (137, '2023-10-16 16:14:11.241', '2023-10-16 16:14:11.241', NULL, '/ipcast/ping', 'ping', 'ipcast', 'GET');
  569. -- ----------------------------
  570. -- Table structure for sys_authorities
  571. -- ----------------------------
  572. DROP TABLE IF EXISTS `sys_authorities`;
  573. CREATE TABLE `sys_authorities` (
  574. `created_at` datetime(3) NULL DEFAULT NULL,
  575. `updated_at` datetime(3) NULL DEFAULT NULL,
  576. `deleted_at` datetime(3) NULL DEFAULT NULL,
  577. `authority_id` bigint UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  578. `authority_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '角色名',
  579. `parent_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '父角色ID',
  580. `default_router` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'dashboard' COMMENT '默认菜单',
  581. PRIMARY KEY (`authority_id`) USING BTREE,
  582. UNIQUE INDEX `authority_id`(`authority_id` ASC) USING BTREE
  583. ) ENGINE = InnoDB AUTO_INCREMENT = 9529 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  584. -- ----------------------------
  585. -- Records of sys_authorities
  586. -- ----------------------------
  587. INSERT INTO `sys_authorities` VALUES ('2023-10-12 16:47:57.841', '2023-10-12 17:13:33.677', NULL, 2, '普通管理员1', 0, 'dashboard');
  588. INSERT INTO `sys_authorities` VALUES ('2023-08-14 16:16:30.979', '2023-09-02 09:57:35.499', NULL, 888, '超级管理员', 0, 'dashboard');
  589. INSERT INTO `sys_authorities` VALUES ('2023-08-14 16:16:30.979', '2023-08-14 16:16:31.582', NULL, 8881, '普通用户子角色', 888, 'dashboard');
  590. INSERT INTO `sys_authorities` VALUES ('2023-08-14 16:16:30.979', '2023-08-14 16:16:31.532', NULL, 9528, '测试角色', 0, 'dashboard');
  591. -- ----------------------------
  592. -- Table structure for sys_authority_btns
  593. -- ----------------------------
  594. DROP TABLE IF EXISTS `sys_authority_btns`;
  595. CREATE TABLE `sys_authority_btns` (
  596. `authority_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '角色ID',
  597. `sys_menu_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '菜单ID',
  598. `sys_base_menu_btn_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '菜单按钮ID'
  599. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  600. -- ----------------------------
  601. -- Records of sys_authority_btns
  602. -- ----------------------------
  603. INSERT INTO `sys_authority_btns` VALUES (888, 32, 1);
  604. -- ----------------------------
  605. -- Table structure for sys_authority_menus
  606. -- ----------------------------
  607. DROP TABLE IF EXISTS `sys_authority_menus`;
  608. CREATE TABLE `sys_authority_menus` (
  609. `sys_base_menu_id` bigint UNSIGNED NOT NULL,
  610. `sys_authority_authority_id` bigint UNSIGNED NOT NULL COMMENT '角色ID',
  611. PRIMARY KEY (`sys_base_menu_id`, `sys_authority_authority_id`) USING BTREE
  612. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单id-角色id 关联表' ROW_FORMAT = Dynamic;
  613. -- ----------------------------
  614. -- Records of sys_authority_menus
  615. -- ----------------------------
  616. INSERT INTO `sys_authority_menus` VALUES (1, 2);
  617. INSERT INTO `sys_authority_menus` VALUES (1, 888);
  618. INSERT INTO `sys_authority_menus` VALUES (1, 8881);
  619. INSERT INTO `sys_authority_menus` VALUES (1, 9528);
  620. INSERT INTO `sys_authority_menus` VALUES (2, 888);
  621. INSERT INTO `sys_authority_menus` VALUES (2, 8881);
  622. INSERT INTO `sys_authority_menus` VALUES (2, 9528);
  623. INSERT INTO `sys_authority_menus` VALUES (3, 888);
  624. INSERT INTO `sys_authority_menus` VALUES (4, 888);
  625. INSERT INTO `sys_authority_menus` VALUES (4, 8881);
  626. INSERT INTO `sys_authority_menus` VALUES (5, 888);
  627. INSERT INTO `sys_authority_menus` VALUES (5, 8881);
  628. INSERT INTO `sys_authority_menus` VALUES (6, 888);
  629. INSERT INTO `sys_authority_menus` VALUES (6, 8881);
  630. INSERT INTO `sys_authority_menus` VALUES (7, 888);
  631. INSERT INTO `sys_authority_menus` VALUES (7, 8881);
  632. INSERT INTO `sys_authority_menus` VALUES (8, 888);
  633. INSERT INTO `sys_authority_menus` VALUES (8, 8881);
  634. INSERT INTO `sys_authority_menus` VALUES (8, 9528);
  635. INSERT INTO `sys_authority_menus` VALUES (9, 888);
  636. INSERT INTO `sys_authority_menus` VALUES (9, 8881);
  637. INSERT INTO `sys_authority_menus` VALUES (10, 888);
  638. INSERT INTO `sys_authority_menus` VALUES (10, 8881);
  639. INSERT INTO `sys_authority_menus` VALUES (11, 888);
  640. INSERT INTO `sys_authority_menus` VALUES (11, 8881);
  641. INSERT INTO `sys_authority_menus` VALUES (12, 888);
  642. INSERT INTO `sys_authority_menus` VALUES (13, 888);
  643. INSERT INTO `sys_authority_menus` VALUES (13, 8881);
  644. INSERT INTO `sys_authority_menus` VALUES (14, 888);
  645. INSERT INTO `sys_authority_menus` VALUES (14, 8881);
  646. INSERT INTO `sys_authority_menus` VALUES (15, 888);
  647. INSERT INTO `sys_authority_menus` VALUES (15, 8881);
  648. INSERT INTO `sys_authority_menus` VALUES (16, 888);
  649. INSERT INTO `sys_authority_menus` VALUES (16, 8881);
  650. INSERT INTO `sys_authority_menus` VALUES (17, 888);
  651. INSERT INTO `sys_authority_menus` VALUES (17, 8881);
  652. INSERT INTO `sys_authority_menus` VALUES (18, 888);
  653. INSERT INTO `sys_authority_menus` VALUES (19, 888);
  654. INSERT INTO `sys_authority_menus` VALUES (20, 888);
  655. INSERT INTO `sys_authority_menus` VALUES (21, 888);
  656. INSERT INTO `sys_authority_menus` VALUES (22, 888);
  657. INSERT INTO `sys_authority_menus` VALUES (23, 2);
  658. INSERT INTO `sys_authority_menus` VALUES (23, 888);
  659. INSERT INTO `sys_authority_menus` VALUES (24, 888);
  660. INSERT INTO `sys_authority_menus` VALUES (25, 888);
  661. INSERT INTO `sys_authority_menus` VALUES (26, 888);
  662. INSERT INTO `sys_authority_menus` VALUES (27, 888);
  663. INSERT INTO `sys_authority_menus` VALUES (28, 888);
  664. INSERT INTO `sys_authority_menus` VALUES (29, 888);
  665. INSERT INTO `sys_authority_menus` VALUES (30, 888);
  666. INSERT INTO `sys_authority_menus` VALUES (31, 888);
  667. INSERT INTO `sys_authority_menus` VALUES (32, 888);
  668. INSERT INTO `sys_authority_menus` VALUES (33, 888);
  669. INSERT INTO `sys_authority_menus` VALUES (34, 888);
  670. -- ----------------------------
  671. -- Table structure for sys_auto_code_histories
  672. -- ----------------------------
  673. DROP TABLE IF EXISTS `sys_auto_code_histories`;
  674. CREATE TABLE `sys_auto_code_histories` (
  675. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  676. `created_at` datetime(3) NULL DEFAULT NULL,
  677. `updated_at` datetime(3) NULL DEFAULT NULL,
  678. `deleted_at` datetime(3) NULL DEFAULT NULL,
  679. `package` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  680. `business_db` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  681. `table_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  682. `request_meta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  683. `auto_code_path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  684. `injection_meta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL,
  685. `struct_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  686. `struct_cn_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  687. `api_ids` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  688. `flag` bigint NULL DEFAULT NULL,
  689. PRIMARY KEY (`id`) USING BTREE,
  690. INDEX `idx_sys_auto_code_histories_deleted_at`(`deleted_at` ASC) USING BTREE
  691. ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  692. -- ----------------------------
  693. -- Records of sys_auto_code_histories
  694. -- ----------------------------
  695. -- ----------------------------
  696. -- Table structure for sys_auto_codes
  697. -- ----------------------------
  698. DROP TABLE IF EXISTS `sys_auto_codes`;
  699. CREATE TABLE `sys_auto_codes` (
  700. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  701. `created_at` datetime(3) NULL DEFAULT NULL,
  702. `updated_at` datetime(3) NULL DEFAULT NULL,
  703. `deleted_at` datetime(3) NULL DEFAULT NULL,
  704. `package_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包名',
  705. `label` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '展示名',
  706. `desc` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  707. PRIMARY KEY (`id`) USING BTREE,
  708. INDEX `idx_sys_auto_codes_deleted_at`(`deleted_at` ASC) USING BTREE
  709. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  710. -- ----------------------------
  711. -- Records of sys_auto_codes
  712. -- ----------------------------
  713. -- ----------------------------
  714. -- Table structure for sys_base_menu_btns
  715. -- ----------------------------
  716. DROP TABLE IF EXISTS `sys_base_menu_btns`;
  717. CREATE TABLE `sys_base_menu_btns` (
  718. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  719. `created_at` datetime(3) NULL DEFAULT NULL,
  720. `updated_at` datetime(3) NULL DEFAULT NULL,
  721. `deleted_at` datetime(3) NULL DEFAULT NULL,
  722. `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '按钮关键key',
  723. `desc` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  724. `sys_base_menu_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '菜单ID',
  725. PRIMARY KEY (`id`) USING BTREE,
  726. INDEX `idx_sys_base_menu_btns_deleted_at`(`deleted_at` ASC) USING BTREE
  727. ) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  728. -- ----------------------------
  729. -- Records of sys_base_menu_btns
  730. -- ----------------------------
  731. INSERT INTO `sys_base_menu_btns` VALUES (1, '2023-08-30 11:41:03.787', '2023-08-30 11:41:03.787', NULL, '', '', 32);
  732. INSERT INTO `sys_base_menu_btns` VALUES (2, '2023-08-30 14:41:13.050', '2023-08-30 14:41:13.050', NULL, '', '', 33);
  733. -- ----------------------------
  734. -- Table structure for sys_base_menu_parameters
  735. -- ----------------------------
  736. DROP TABLE IF EXISTS `sys_base_menu_parameters`;
  737. CREATE TABLE `sys_base_menu_parameters` (
  738. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  739. `created_at` datetime(3) NULL DEFAULT NULL,
  740. `updated_at` datetime(3) NULL DEFAULT NULL,
  741. `deleted_at` datetime(3) NULL DEFAULT NULL,
  742. `sys_base_menu_id` bigint UNSIGNED NULL DEFAULT NULL,
  743. `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址栏携带参数为params还是query',
  744. `key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址栏携带参数的key',
  745. `value` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '地址栏携带参数的值',
  746. PRIMARY KEY (`id`) USING BTREE,
  747. INDEX `idx_sys_base_menu_parameters_deleted_at`(`deleted_at` ASC) USING BTREE
  748. ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  749. -- ----------------------------
  750. -- Records of sys_base_menu_parameters
  751. -- ----------------------------
  752. INSERT INTO `sys_base_menu_parameters` VALUES (1, '2023-08-30 14:11:32.999', '2023-08-30 14:11:32.999', NULL, 32, 'query', '', '');
  753. INSERT INTO `sys_base_menu_parameters` VALUES (2, '2023-08-30 14:41:13.050', '2023-08-30 14:41:13.050', NULL, 33, 'query', '', '');
  754. -- ----------------------------
  755. -- Table structure for sys_base_menus
  756. -- ----------------------------
  757. DROP TABLE IF EXISTS `sys_base_menus`;
  758. CREATE TABLE `sys_base_menus` (
  759. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  760. `created_at` datetime(3) NULL DEFAULT NULL,
  761. `updated_at` datetime(3) NULL DEFAULT NULL,
  762. `deleted_at` datetime(3) NULL DEFAULT NULL,
  763. `menu_level` bigint UNSIGNED NULL DEFAULT NULL,
  764. `parent_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父菜单ID',
  765. `path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由path',
  766. `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '路由name',
  767. `hidden` tinyint(1) NULL DEFAULT NULL COMMENT '是否在列表隐藏',
  768. `component` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '对应前端文件路径',
  769. `sort` bigint NULL DEFAULT NULL COMMENT '排序标记',
  770. `active_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加属性',
  771. `keep_alive` tinyint(1) NULL DEFAULT NULL COMMENT '附加属性',
  772. `default_menu` tinyint(1) NULL DEFAULT NULL COMMENT '附加属性',
  773. `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加属性',
  774. `icon` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '附加属性',
  775. `close_tab` tinyint(1) NULL DEFAULT NULL COMMENT '附加属性',
  776. PRIMARY KEY (`id`) USING BTREE,
  777. INDEX `idx_sys_base_menus_deleted_at`(`deleted_at` ASC) USING BTREE
  778. ) ENGINE = InnoDB AUTO_INCREMENT = 35 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '基础菜单详情' ROW_FORMAT = Dynamic;
  779. -- ----------------------------
  780. -- Records of sys_base_menus
  781. -- ----------------------------
  782. INSERT INTO `sys_base_menus` VALUES (1, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'dashboard', 'dashboard', 0, 'view/dashboard/index.vue', 1, '', 0, 0, '仪表盘', 'odometer', 0);
  783. INSERT INTO `sys_base_menus` VALUES (2, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'about', 'about', 0, 'view/about/index.vue', 9, '', 0, 0, '关于我们', 'info-filled', 0);
  784. INSERT INTO `sys_base_menus` VALUES (3, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'admin', 'superAdmin', 0, 'view/superAdmin/index.vue', 3, '', 0, 0, '超级管理员', 'user', 0);
  785. INSERT INTO `sys_base_menus` VALUES (4, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'authority', 'authority', 0, 'view/superAdmin/authority/authority.vue', 1, '', 0, 0, '角色管理', 'avatar', 0);
  786. INSERT INTO `sys_base_menus` VALUES (5, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'menu', 'menu', 0, 'view/superAdmin/menu/menu.vue', 2, '', 1, 0, '菜单管理', 'tickets', 0);
  787. INSERT INTO `sys_base_menus` VALUES (6, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'api', 'api', 0, 'view/superAdmin/api/api.vue', 3, '', 1, 0, 'api管理', 'platform', 0);
  788. INSERT INTO `sys_base_menus` VALUES (7, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'user', 'user', 0, 'view/superAdmin/user/user.vue', 4, '', 0, 0, '用户管理', 'coordinate', 0);
  789. INSERT INTO `sys_base_menus` VALUES (8, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'dictionary', 'dictionary', 0, 'view/superAdmin/dictionary/sysDictionary.vue', 5, '', 0, 0, '字典管理', 'notebook', 0);
  790. INSERT INTO `sys_base_menus` VALUES (9, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'dictionaryDetail/:id', 'dictionaryDetail', 1, 'view/superAdmin/dictionary/sysDictionaryDetail.vue', 1, 'dictionary', 0, 0, '字典详情-${id}', 'list', 0);
  791. INSERT INTO `sys_base_menus` VALUES (10, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '3', 'operation', 'operation', 0, 'view/superAdmin/operation/sysOperationRecord.vue', 6, '', 0, 0, '操作历史', 'pie-chart', 0);
  792. INSERT INTO `sys_base_menus` VALUES (11, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'person', 'person', 1, 'view/person/person.vue', 4, '', 0, 0, '个人信息', 'message', 0);
  793. INSERT INTO `sys_base_menus` VALUES (12, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'example', 'example', 0, 'view/example/index.vue', 7, '', 0, 0, '示例文件', 'management', 0);
  794. INSERT INTO `sys_base_menus` VALUES (13, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '12', 'upload', 'upload', 0, 'view/example/upload/upload.vue', 5, '', 0, 0, '媒体库(上传下载)', 'upload', 0);
  795. INSERT INTO `sys_base_menus` VALUES (14, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '12', 'breakpoint', 'breakpoint', 0, 'view/example/breakpoint/breakpoint.vue', 6, '', 0, 0, '断点续传', 'upload-filled', 0);
  796. INSERT INTO `sys_base_menus` VALUES (15, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '12', 'customer', 'customer', 0, 'view/example/customer/customer.vue', 7, '', 0, 0, '客户列表(资源示例)', 'avatar', 0);
  797. INSERT INTO `sys_base_menus` VALUES (16, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'systemTools', 'systemTools', 0, 'view/systemTools/index.vue', 5, '', 0, 0, '系统工具', 'tools', 0);
  798. INSERT INTO `sys_base_menus` VALUES (17, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'autoCode', 'autoCode', 0, 'view/systemTools/autoCode/index.vue', 1, '', 1, 0, '代码生成器', 'cpu', 0);
  799. INSERT INTO `sys_base_menus` VALUES (18, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'formCreate', 'formCreate', 0, 'view/systemTools/formCreate/index.vue', 2, '', 1, 0, '表单生成器', 'magic-stick', 0);
  800. INSERT INTO `sys_base_menus` VALUES (19, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'system', 'system', 0, 'view/systemTools/system/system.vue', 3, '', 0, 0, '系统配置', 'operation', 0);
  801. INSERT INTO `sys_base_menus` VALUES (20, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'autoCodeAdmin', 'autoCodeAdmin', 0, 'view/systemTools/autoCodeAdmin/index.vue', 1, '', 0, 0, '自动化代码管理', 'magic-stick', 0);
  802. INSERT INTO `sys_base_menus` VALUES (21, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'autoCodeEdit/:id', 'autoCodeEdit', 1, 'view/systemTools/autoCode/index.vue', 0, '', 0, 0, '自动化代码-${id}', 'magic-stick', 0);
  803. INSERT INTO `sys_base_menus` VALUES (22, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'autoPkg', 'autoPkg', 0, 'view/systemTools/autoPkg/autoPkg.vue', 0, '', 0, 0, '自动化package', 'folder', 0);
  804. INSERT INTO `sys_base_menus` VALUES (23, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'https://www.gin-vue-admin.com', 'https://www.gin-vue-admin.com', 0, '/', 0, '', 0, 0, '官方网站', 'home-filled', 0);
  805. INSERT INTO `sys_base_menus` VALUES (24, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'state', 'state', 0, 'view/system/state.vue', 8, '', 0, 0, '服务器状态', 'cloudy', 0);
  806. INSERT INTO `sys_base_menus` VALUES (25, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '0', 'plugin', 'plugin', 0, 'view/routerHolder.vue', 6, '', 0, 0, '插件系统', 'cherry', 0);
  807. INSERT INTO `sys_base_menus` VALUES (26, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '25', 'https://plugin.gin-vue-admin.com/', 'https://plugin.gin-vue-admin.com/', 0, 'https://plugin.gin-vue-admin.com/', 0, '', 0, 0, '插件市场', 'shop', 0);
  808. INSERT INTO `sys_base_menus` VALUES (27, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '25', 'installPlugin', 'installPlugin', 0, 'view/systemTools/installPlugin/index.vue', 1, '', 0, 0, '插件安装', 'box', 0);
  809. INSERT INTO `sys_base_menus` VALUES (28, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '25', 'autoPlug', 'autoPlug', 0, 'view/systemTools/autoPlug/autoPlug.vue', 2, '', 0, 0, '插件模板', 'folder', 0);
  810. INSERT INTO `sys_base_menus` VALUES (29, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '25', 'pubPlug', 'pubPlug', 0, 'view/systemTools/pubPlug/pubPlug.vue', 3, '', 0, 0, '打包插件', 'files', 0);
  811. INSERT INTO `sys_base_menus` VALUES (30, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '25', 'plugin-email', 'plugin-email', 0, 'plugin/email/view/index.vue', 4, '', 0, 0, '邮件插件', 'message', 0);
  812. INSERT INTO `sys_base_menus` VALUES (31, '2023-08-14 16:16:31.250', '2023-08-14 16:16:31.250', NULL, 0, '16', 'chatTable', 'chatTable', 0, 'view/chatgpt/chatTable.vue', 6, '', 0, 0, '万用表格', 'chat-dot-square', 0);
  813. INSERT INTO `sys_base_menus` VALUES (32, '2023-08-16 08:51:08.400', '2023-08-30 14:21:05.322', NULL, 0, '0', 'camera', 'camera', 0, 'view/camera/camera.vue', 0, '', 0, 0, '监控管理', 'camera', 0);
  814. INSERT INTO `sys_base_menus` VALUES (33, '2023-08-30 14:41:13.050', '2023-08-30 14:45:25.389', NULL, 0, '0', 'edge', 'edge', 0, 'view/edge/edge.vue', 0, '', 0, 0, '项目', 'aim', 0);
  815. INSERT INTO `sys_base_menus` VALUES (34, '2023-09-02 09:56:43.237', '2023-09-02 09:56:43.237', NULL, 0, '0', 'monitor', 'monitor', 0, 'view/monitor/monitor.vue', 9, '', 0, 0, '视频监测', 'camera', 0);
  816. -- ----------------------------
  817. -- Table structure for sys_data_authority_id
  818. -- ----------------------------
  819. DROP TABLE IF EXISTS `sys_data_authority_id`;
  820. CREATE TABLE `sys_data_authority_id` (
  821. `sys_authority_authority_id` bigint UNSIGNED NOT NULL COMMENT '角色ID',
  822. `data_authority_id_authority_id` bigint UNSIGNED NOT NULL COMMENT '角色ID',
  823. PRIMARY KEY (`sys_authority_authority_id`, `data_authority_id_authority_id`) USING BTREE
  824. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  825. -- ----------------------------
  826. -- Records of sys_data_authority_id
  827. -- ----------------------------
  828. INSERT INTO `sys_data_authority_id` VALUES (888, 888);
  829. INSERT INTO `sys_data_authority_id` VALUES (888, 8881);
  830. INSERT INTO `sys_data_authority_id` VALUES (888, 9528);
  831. INSERT INTO `sys_data_authority_id` VALUES (9528, 8881);
  832. INSERT INTO `sys_data_authority_id` VALUES (9528, 9528);
  833. -- ----------------------------
  834. -- Table structure for sys_dictionaries
  835. -- ----------------------------
  836. DROP TABLE IF EXISTS `sys_dictionaries`;
  837. CREATE TABLE `sys_dictionaries` (
  838. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  839. `created_at` datetime(3) NULL DEFAULT NULL,
  840. `updated_at` datetime(3) NULL DEFAULT NULL,
  841. `deleted_at` datetime(3) NULL DEFAULT NULL,
  842. `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典名(中)',
  843. `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '字典名(英)',
  844. `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态',
  845. `desc` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
  846. PRIMARY KEY (`id`) USING BTREE,
  847. INDEX `idx_sys_dictionaries_deleted_at`(`deleted_at` ASC) USING BTREE
  848. ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  849. -- ----------------------------
  850. -- Records of sys_dictionaries
  851. -- ----------------------------
  852. INSERT INTO `sys_dictionaries` VALUES (1, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.091', NULL, '性别', 'gender', 1, '性别字典');
  853. INSERT INTO `sys_dictionaries` VALUES (2, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.130', NULL, '数据库int类型', 'int', 1, 'int类型对应的数据库类型');
  854. INSERT INTO `sys_dictionaries` VALUES (3, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.148', NULL, '数据库时间日期类型', 'time.Time', 1, '数据库时间日期类型');
  855. INSERT INTO `sys_dictionaries` VALUES (4, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.174', NULL, '数据库浮点型', 'float64', 1, '数据库浮点型');
  856. INSERT INTO `sys_dictionaries` VALUES (5, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.199', NULL, '数据库字符串', 'string', 1, '数据库字符串');
  857. INSERT INTO `sys_dictionaries` VALUES (6, '2023-08-14 16:16:31.066', '2023-08-14 16:16:31.224', NULL, '数据库bool类型', 'bool', 1, '数据库bool类型');
  858. INSERT INTO `sys_dictionaries` VALUES (7, '2023-10-13 14:06:17.312', '2023-10-13 14:06:17.312', NULL, '事件类型', 'eventType', 1, '报警事件类型');
  859. -- ----------------------------
  860. -- Table structure for sys_dictionary_details
  861. -- ----------------------------
  862. DROP TABLE IF EXISTS `sys_dictionary_details`;
  863. CREATE TABLE `sys_dictionary_details` (
  864. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  865. `created_at` datetime(3) NULL DEFAULT NULL,
  866. `updated_at` datetime(3) NULL DEFAULT NULL,
  867. `deleted_at` datetime(3) NULL DEFAULT NULL,
  868. `label` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '展示值',
  869. `value` bigint NULL DEFAULT NULL COMMENT '字典值',
  870. `status` tinyint(1) NULL DEFAULT NULL COMMENT '启用状态',
  871. `sort` bigint NULL DEFAULT NULL COMMENT '排序标记',
  872. `sys_dictionary_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '关联标记',
  873. PRIMARY KEY (`id`) USING BTREE,
  874. INDEX `idx_sys_dictionary_details_deleted_at`(`deleted_at` ASC) USING BTREE
  875. ) ENGINE = InnoDB AUTO_INCREMENT = 30 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  876. -- ----------------------------
  877. -- Records of sys_dictionary_details
  878. -- ----------------------------
  879. INSERT INTO `sys_dictionary_details` VALUES (1, '2023-08-14 16:16:31.092', '2023-08-14 16:16:31.092', NULL, '男', 1, 1, 1, 1);
  880. INSERT INTO `sys_dictionary_details` VALUES (2, '2023-08-14 16:16:31.092', '2023-08-14 16:16:31.092', NULL, '女', 2, 1, 2, 1);
  881. INSERT INTO `sys_dictionary_details` VALUES (3, '2023-08-14 16:16:31.130', '2023-08-14 16:16:31.130', NULL, 'smallint', 1, 1, 1, 2);
  882. INSERT INTO `sys_dictionary_details` VALUES (4, '2023-08-14 16:16:31.130', '2023-08-14 16:16:31.130', NULL, 'mediumint', 2, 1, 2, 2);
  883. INSERT INTO `sys_dictionary_details` VALUES (5, '2023-08-14 16:16:31.130', '2023-08-14 16:16:31.130', NULL, 'int', 3, 1, 3, 2);
  884. INSERT INTO `sys_dictionary_details` VALUES (6, '2023-08-14 16:16:31.130', '2023-08-14 16:16:31.130', NULL, 'bigint', 4, 1, 4, 2);
  885. INSERT INTO `sys_dictionary_details` VALUES (7, '2023-08-14 16:16:31.149', '2023-08-14 16:16:31.149', NULL, 'date', 0, 1, 0, 3);
  886. INSERT INTO `sys_dictionary_details` VALUES (8, '2023-08-14 16:16:31.149', '2023-08-14 16:16:31.149', NULL, 'time', 1, 1, 1, 3);
  887. INSERT INTO `sys_dictionary_details` VALUES (9, '2023-08-14 16:16:31.149', '2023-08-14 16:16:31.149', NULL, 'year', 2, 1, 2, 3);
  888. INSERT INTO `sys_dictionary_details` VALUES (10, '2023-08-14 16:16:31.149', '2023-08-14 16:16:31.149', NULL, 'datetime', 3, 1, 3, 3);
  889. INSERT INTO `sys_dictionary_details` VALUES (11, '2023-08-14 16:16:31.149', '2023-08-14 16:16:31.149', NULL, 'timestamp', 5, 1, 5, 3);
  890. INSERT INTO `sys_dictionary_details` VALUES (12, '2023-08-14 16:16:31.175', '2023-08-14 16:16:31.175', NULL, 'float', 0, 1, 0, 4);
  891. INSERT INTO `sys_dictionary_details` VALUES (13, '2023-08-14 16:16:31.175', '2023-08-14 16:16:31.175', NULL, 'double', 1, 1, 1, 4);
  892. INSERT INTO `sys_dictionary_details` VALUES (14, '2023-08-14 16:16:31.175', '2023-08-14 16:16:31.175', NULL, 'decimal', 2, 1, 2, 4);
  893. INSERT INTO `sys_dictionary_details` VALUES (15, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'char', 0, 1, 0, 5);
  894. INSERT INTO `sys_dictionary_details` VALUES (16, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'varchar', 1, 1, 1, 5);
  895. INSERT INTO `sys_dictionary_details` VALUES (17, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'tinyblob', 2, 1, 2, 5);
  896. INSERT INTO `sys_dictionary_details` VALUES (18, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'tinytext', 3, 1, 3, 5);
  897. INSERT INTO `sys_dictionary_details` VALUES (19, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'text', 4, 1, 4, 5);
  898. INSERT INTO `sys_dictionary_details` VALUES (20, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'blob', 5, 1, 5, 5);
  899. INSERT INTO `sys_dictionary_details` VALUES (21, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'mediumblob', 6, 1, 6, 5);
  900. INSERT INTO `sys_dictionary_details` VALUES (22, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'mediumtext', 7, 1, 7, 5);
  901. INSERT INTO `sys_dictionary_details` VALUES (23, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'longblob', 8, 1, 8, 5);
  902. INSERT INTO `sys_dictionary_details` VALUES (24, '2023-08-14 16:16:31.199', '2023-08-14 16:16:31.199', NULL, 'longtext', 9, 1, 9, 5);
  903. INSERT INTO `sys_dictionary_details` VALUES (25, '2023-08-14 16:16:31.225', '2023-08-14 16:16:31.225', NULL, 'tinyint', 0, 1, 0, 6);
  904. INSERT INTO `sys_dictionary_details` VALUES (26, '2023-10-13 14:08:06.925', '2023-10-13 14:08:06.925', NULL, '遮盖报警', 1, 1, 1, 7);
  905. INSERT INTO `sys_dictionary_details` VALUES (27, '2023-10-13 14:08:24.151', '2023-10-13 14:08:24.151', NULL, '进入区域', 2, 1, 2, 7);
  906. INSERT INTO `sys_dictionary_details` VALUES (28, '2023-10-13 14:08:40.068', '2023-10-13 14:08:40.068', NULL, '区域入侵', 3, 1, 3, 7);
  907. INSERT INTO `sys_dictionary_details` VALUES (29, '2023-10-13 14:08:55.249', '2023-10-13 14:08:55.249', NULL, '越界侦测', 4, 1, 4, 7);
  908. -- ----------------------------
  909. -- Table structure for sys_operation_records
  910. -- ----------------------------
  911. DROP TABLE IF EXISTS `sys_operation_records`;
  912. CREATE TABLE `sys_operation_records` (
  913. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  914. `created_at` datetime(3) NULL DEFAULT NULL,
  915. `updated_at` datetime(3) NULL DEFAULT NULL,
  916. `deleted_at` datetime(3) NULL DEFAULT NULL,
  917. `ip` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求ip',
  918. `method` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求方法',
  919. `path` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '请求路径',
  920. `status` bigint NULL DEFAULT NULL COMMENT '请求状态',
  921. `latency` bigint NULL DEFAULT NULL COMMENT '延迟',
  922. `agent` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '代理',
  923. `error_message` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '错误信息',
  924. `body` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '请求Body',
  925. `resp` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '响应Body',
  926. `user_id` bigint UNSIGNED NULL DEFAULT NULL COMMENT '用户id',
  927. PRIMARY KEY (`id`) USING BTREE,
  928. INDEX `idx_sys_operation_records_deleted_at`(`deleted_at` ASC) USING BTREE
  929. ) ENGINE = InnoDB AUTO_INCREMENT = 1127 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  930. -- ----------------------------
  931. -- Records of sys_operation_records
  932. -- ----------------------------
  933. -- ----------------------------
  934. -- Table structure for sys_user_authority
  935. -- ----------------------------
  936. DROP TABLE IF EXISTS `sys_user_authority`;
  937. CREATE TABLE `sys_user_authority` (
  938. `sys_user_id` bigint UNSIGNED NOT NULL,
  939. `sys_authority_authority_id` bigint UNSIGNED NOT NULL COMMENT '角色ID',
  940. PRIMARY KEY (`sys_user_id`, `sys_authority_authority_id`) USING BTREE
  941. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户id-角色id 关联表' ROW_FORMAT = Dynamic;
  942. -- ----------------------------
  943. -- Records of sys_user_authority
  944. -- ----------------------------
  945. INSERT INTO `sys_user_authority` VALUES (1, 888);
  946. INSERT INTO `sys_user_authority` VALUES (1, 8881);
  947. INSERT INTO `sys_user_authority` VALUES (1, 9528);
  948. INSERT INTO `sys_user_authority` VALUES (2, 888);
  949. -- ----------------------------
  950. -- Table structure for sys_user_email
  951. -- ----------------------------
  952. DROP TABLE IF EXISTS `sys_user_email`;
  953. CREATE TABLE `sys_user_email` (
  954. `id` int NOT NULL AUTO_INCREMENT,
  955. `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  956. `uid` int NULL DEFAULT NULL COMMENT '绑定哪个用户',
  957. `enable` tinyint(1) UNSIGNED ZEROFILL NULL DEFAULT NULL COMMENT '0生效,1禁用',
  958. PRIMARY KEY (`id`) USING BTREE
  959. ) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  960. -- ----------------------------
  961. -- Records of sys_user_email
  962. -- ----------------------------
  963. -- ----------------------------
  964. -- Table structure for sys_users
  965. -- ----------------------------
  966. DROP TABLE IF EXISTS `sys_users`;
  967. CREATE TABLE `sys_users` (
  968. `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  969. `created_at` datetime(3) NULL DEFAULT NULL,
  970. `updated_at` datetime(3) NULL DEFAULT NULL,
  971. `deleted_at` datetime(3) NULL DEFAULT NULL,
  972. `uuid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户UUID',
  973. `username` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户登录名',
  974. `password` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户登录密码',
  975. `nick_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '系统用户' COMMENT '用户昵称',
  976. `side_mode` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'dark' COMMENT '用户侧边主题',
  977. `header_img` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'https://qmplusimg.henrongyi.top/gva_header.jpg' COMMENT '用户头像',
  978. `base_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '#fff' COMMENT '基础颜色',
  979. `active_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '#1890ff' COMMENT '活跃颜色',
  980. `authority_id` bigint UNSIGNED NULL DEFAULT 888 COMMENT '用户角色ID',
  981. `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户手机号',
  982. `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户邮箱',
  983. `alarm_emails` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '报警通知邮箱',
  984. `enable` bigint NULL DEFAULT 1 COMMENT '用户是否被冻结 1正常 2冻结',
  985. PRIMARY KEY (`id`) USING BTREE,
  986. INDEX `idx_sys_users_deleted_at`(`deleted_at` ASC) USING BTREE,
  987. INDEX `idx_sys_users_uuid`(`uuid` ASC) USING BTREE,
  988. INDEX `idx_sys_users_username`(`username` ASC) USING BTREE
  989. ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
  990. -- ----------------------------
  991. -- Records of sys_users
  992. -- ----------------------------
  993. INSERT INTO `sys_users` VALUES (1, '2023-08-14 16:16:31.443', '2023-10-14 11:17:46.642', NULL, 'c6ba6fba-d52d-43bc-aa72-38ef3efcd812', 'admin', '$2a$10$4RzeAGrcs4WcsFUyOWNHruFAGnoCcH75PzCvjeovA36ct.Z5eNRNm', '超级账号', 'dark', 'https://qmplusimg.henrongyi.top/gva_header.jpg', '#fff', '#1890ff', 888, '17611111111', '1104038181@qq.com', '1104038181@qq.com', 1);
  994. INSERT INTO `sys_users` VALUES (2, '2023-08-14 16:16:31.443', '2023-08-14 16:16:31.482', NULL, 'b59aec37-853f-417c-8683-8ea6f86a8a61', 'a303176530', '$2a$10$dFiTlmdgYhm7aHe9uhs51uxft8IyWrlJhLeZfGqmQknUNwqjfppVW', '用户1', 'dark', 'https:///qmplusimg.henrongyi.top/1572075907logo.png', '#fff', '#1890ff', 9528, '17611111111', '333333333@qq.com', NULL, 1);
  995. SET FOREIGN_KEY_CHECKS = 1;