mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
发布6.0
This commit is contained in:
parent
375a93638b
commit
06c8c7975d
@ -4,8 +4,8 @@
|
||||
"description": "一个项目用COOL就够了",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@cool-midway/core": "^6.0.1",
|
||||
"@cool-midway/cloud": "^6.0.0",
|
||||
"@cool-midway/core": "^6.0.0",
|
||||
"@cool-midway/file": "^6.0.0",
|
||||
"@cool-midway/iot": "^6.0.0",
|
||||
"@cool-midway/pay": "^6.0.0",
|
||||
|
@ -1,76 +1,19 @@
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
Source Server : cool-admin-next
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 50727
|
||||
Source Host : 139.196.196.203:3306
|
||||
Source Schema : cooladmin
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 50727
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 10/03/2021 14:04:34
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for base_app_space_info
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_app_space_info`;
|
||||
CREATE TABLE `base_app_space_info` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`url` varchar(255) NOT NULL COMMENT '地址',
|
||||
`type` varchar(255) NOT NULL COMMENT '类型',
|
||||
`classifyId` bigint(20) DEFAULT NULL COMMENT '分类ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_4aed04cbfa2ecdc01485b86e51` (`createTime`),
|
||||
KEY `IDX_abd5de4a4895eb253a5cabb20f` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for base_app_space_type
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_app_space_type`;
|
||||
CREATE TABLE `base_app_space_type` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`name` varchar(255) NOT NULL COMMENT '类别名称',
|
||||
`parentId` tinyint(4) DEFAULT NULL COMMENT '父分类ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_5e8376603f89fdf3e7bb05103a` (`createTime`),
|
||||
KEY `IDX_500ea9e8b2c5c08c9b86a0667e` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_app_space_type
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_app_space_type` VALUES (1, '2021-02-26 14:07:48.867045', '2021-02-26 14:07:48.867045', 'a', NULL);
|
||||
INSERT INTO `base_app_space_type` VALUES (2, '2021-02-26 14:07:52.285531', '2021-02-26 14:07:52.285531', 'b', NULL);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for base_sys_conf
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_conf`;
|
||||
CREATE TABLE `base_sys_conf` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`cKey` varchar(255) NOT NULL COMMENT '配置键',
|
||||
`cValue` varchar(255) NOT NULL COMMENT '配置值',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `IDX_9be195d27767b4485417869c3a` (`cKey`),
|
||||
KEY `IDX_905208f206a3ff9fd513421971` (`createTime`),
|
||||
KEY `IDX_4c6f27f6ecefe51a5a196a047a` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
|
||||
`cKey` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '配置键',
|
||||
`cValue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '配置值',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `IDX_9be195d27767b4485417869c3a` (`cKey`) USING BTREE,
|
||||
KEY `IDX_905208f206a3ff9fd513421971` (`createTime`) USING BTREE,
|
||||
KEY `IDX_4c6f27f6ecefe51a5a196a047a` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_conf
|
||||
@ -84,25 +27,25 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_department`;
|
||||
CREATE TABLE `base_sys_department` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`name` varchar(255) NOT NULL COMMENT '部门名称',
|
||||
`parentId` bigint(20) DEFAULT NULL COMMENT '上级部门ID',
|
||||
`orderNum` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_be4c53cd671384fa588ca9470a` (`createTime`),
|
||||
KEY `IDX_ca1473a793961ec55bc0c8d268` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4;
|
||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '部门名称',
|
||||
`parentId` bigint DEFAULT NULL COMMENT '上级部门ID',
|
||||
`orderNum` int NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_be4c53cd671384fa588ca9470a` (`createTime`) USING BTREE,
|
||||
KEY `IDX_ca1473a793961ec55bc0c8d268` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_department
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_department` VALUES (1, '2021-02-24 21:17:11.971397', '2021-02-24 21:17:15.697917', 'COOL', NULL, 0);
|
||||
INSERT INTO `base_sys_department` VALUES (11, '2021-02-26 14:17:06.690613', '2021-02-26 14:17:06.690613', '开发', 1, 0);
|
||||
INSERT INTO `base_sys_department` VALUES (12, '2021-02-26 14:17:11.576369', '2021-02-26 14:17:11.576369', '测试', 1, 0);
|
||||
INSERT INTO `base_sys_department` VALUES (13, '2021-02-26 14:28:59.685177', '2021-02-26 14:28:59.685177', '游客', 1, 0);
|
||||
INSERT INTO `base_sys_department` VALUES (1, '2021-02-24 21:17:11.971397', '2023-03-07 00:39:53.000000', 'COOL', NULL, 0);
|
||||
INSERT INTO `base_sys_department` VALUES (11, '2021-02-26 14:17:06.690613', '2023-03-07 00:39:53.000000', '开发', 12, 2);
|
||||
INSERT INTO `base_sys_department` VALUES (12, '2021-02-26 14:17:11.576369', '2023-03-07 00:39:53.000000', '测试', 1, 1);
|
||||
INSERT INTO `base_sys_department` VALUES (13, '2021-02-26 14:28:59.685177', '2023-03-07 00:39:53.000000', '游客', 1, 3);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -110,58 +53,157 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_log`;
|
||||
CREATE TABLE `base_sys_log` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`userId` bigint(20) DEFAULT NULL COMMENT '用户ID',
|
||||
`action` varchar(100) NOT NULL COMMENT '行为',
|
||||
`ip` varchar(50) DEFAULT NULL COMMENT 'ip',
|
||||
`ipAddr` varchar(50) DEFAULT NULL COMMENT 'ip地址',
|
||||
`params` text COMMENT '参数',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_51a2caeb5713efdfcb343a8772` (`userId`),
|
||||
KEY `IDX_938f886fb40e163db174b7f6c3` (`action`),
|
||||
KEY `IDX_24e18767659f8c7142580893f2` (`ip`),
|
||||
KEY `IDX_a03a27f75cf8d502b3060823e1` (`ipAddr`),
|
||||
KEY `IDX_c9382b76219a1011f7b8e7bcd1` (`createTime`),
|
||||
KEY `IDX_bfd44e885b470da43bcc39aaa7` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4844 DEFAULT CHARSET=utf8mb4;
|
||||
`userId` bigint DEFAULT NULL COMMENT '用户ID',
|
||||
`ipAddr` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'ip地址',
|
||||
`params` json DEFAULT NULL COMMENT '参数',
|
||||
`action` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '行为',
|
||||
`ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'ip',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_51a2caeb5713efdfcb343a8772` (`userId`) USING BTREE,
|
||||
KEY `IDX_a03a27f75cf8d502b3060823e1` (`ipAddr`) USING BTREE,
|
||||
KEY `IDX_c9382b76219a1011f7b8e7bcd1` (`createTime`) USING BTREE,
|
||||
KEY `IDX_bfd44e885b470da43bcc39aaa7` (`updateTime`) USING BTREE,
|
||||
KEY `IDX_938f886fb40e163db174b7f6c3` (`action`) USING BTREE,
|
||||
KEY `IDX_24e18767659f8c7142580893f2` (`ip`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=96 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_log
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_log` VALUES (1, '2023-03-08 15:12:45.149843', '2023-03-08 15:12:45.149843', 1, '中国福建厦门', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\"}', '/admin/base/sys/log/page', '120.41.105.4');
|
||||
INSERT INTO `base_sys_log` VALUES (2, '2023-03-08 15:12:46.384406', '2023-03-08 15:12:46.384406', 1, '中国福建厦门', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\"}', '/admin/base/sys/log/page', '120.41.105.4');
|
||||
INSERT INTO `base_sys_log` VALUES (3, '2023-03-08 15:50:10.982972', '2023-03-08 15:50:10.982972', NULL, '中国,无法获取地址信息', '{\"width\": \"110\", \"height\": \"36\"}', '/admin/base/open/captcha', '101.35.12.172, 180.101.244.11');
|
||||
INSERT INTO `base_sys_log` VALUES (4, '2023-03-08 15:50:30.907520', '2023-03-08 15:50:30.907520', 1, '中国陕西西安', '{\"page\": 1, \"size\": 20}', '/admin/base/sys/param/page', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (5, '2023-03-08 15:50:38.624306', '2023-03-08 15:50:38.624306', 1, '中国陕西西安', '{}', '/admin/base/comm/person', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (6, '2023-03-08 15:50:38.629508', '2023-03-08 15:50:38.629508', 1, '中国陕西西安', '{}', '/admin/base/comm/permmenu', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (7, '2023-03-08 15:50:39.515693', '2023-03-08 15:50:39.515693', 1, '中国陕西西安', '{}', '/admin/dict/info/data', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (8, '2023-03-08 15:50:53.454625', '2023-03-08 15:50:53.454625', 1, '中国陕西西安', '{\"page\": 1, \"size\": 20}', '/admin/base/sys/param/page', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (9, '2023-03-08 15:51:38.391462', '2023-03-08 15:51:38.391462', NULL, '中国上海', '{\"width\": \"150\", \"height\": \"40\"}', '/admin/base/open/captcha', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (10, '2023-03-08 15:51:46.203795', '2023-03-08 15:51:46.203795', NULL, '中国上海', '{\"password\": \"123456\", \"username\": \"admin\", \"captchaId\": \"0e70e360-bd86-11ed-bf5e-f9bceb3d5264\", \"verifyCode\": \"6761\"}', '/admin/base/open/login', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (11, '2023-03-08 15:51:46.255447', '2023-03-08 15:51:46.255447', 1, '中国上海', '{}', '/admin/base/comm/person', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (12, '2023-03-08 15:51:46.262089', '2023-03-08 15:51:46.262089', 1, '中国上海', '{}', '/admin/base/comm/permmenu', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (13, '2023-03-08 15:51:46.268389', '2023-03-08 15:51:46.268389', 1, '中国上海', '{}', '/admin/dict/info/data', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (14, '2023-03-08 15:52:13.087383', '2023-03-08 15:52:13.087383', 1, '中国福建厦门', '{}', '/admin/base/comm/person', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (15, '2023-03-08 15:52:13.089934', '2023-03-08 15:52:13.089934', 1, '中国福建厦门', '{}', '/admin/base/comm/permmenu', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (16, '2023-03-08 15:52:13.179651', '2023-03-08 15:52:13.179651', 1, '中国福建厦门', '{}', '/admin/dict/info/data', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (17, '2023-03-08 15:52:13.664606', '2023-03-08 15:52:13.664606', NULL, '中国上海', '{\"width\": \"150\", \"height\": \"40\"}', '/admin/base/open/captcha', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (18, '2023-03-08 15:52:14.080681', '2023-03-08 15:52:14.080681', 1, '中国福建厦门', '{}', '/admin/base/comm/person', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (19, '2023-03-08 15:52:14.083080', '2023-03-08 15:52:14.083080', 1, '中国福建厦门', '{}', '/admin/base/comm/permmenu', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (20, '2023-03-08 15:52:14.202670', '2023-03-08 15:52:14.202670', 1, '中国福建厦门', '{}', '/admin/dict/info/data', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (21, '2023-03-08 15:52:14.316998', '2023-03-08 15:52:14.316998', 1, '中国陕西西安', '{}', '/admin/base/sys/department/list', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (22, '2023-03-08 15:52:14.399445', '2023-03-08 15:52:14.399445', 1, '中国陕西西安', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\", \"departmentIds\": [1, 12, 11, 13]}', '/admin/base/sys/user/page', '1.83.124.231');
|
||||
INSERT INTO `base_sys_log` VALUES (23, '2023-03-08 15:52:22.961603', '2023-03-08 15:52:22.961603', NULL, '中国上海', '{\"password\": \"123456\", \"username\": \"admin\", \"captchaId\": \"23774600-bd86-11ed-bf5e-f9bceb3d5264\", \"verifyCode\": \"2691\"}', '/admin/base/open/login', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (24, '2023-03-08 15:52:22.994706', '2023-03-08 15:52:22.994706', NULL, '中国上海', '{\"width\": \"150\", \"height\": \"40\"}', '/admin/base/open/captcha', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (25, '2023-03-08 15:52:26.856119', '2023-03-08 15:52:26.856119', NULL, '中国上海', '{\"password\": \"123456\", \"username\": \"admin\", \"captchaId\": \"2906eb20-bd86-11ed-bf5e-f9bceb3d5264\", \"verifyCode\": \"6436\"}', '/admin/base/open/login', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (26, '2023-03-08 15:52:26.887928', '2023-03-08 15:52:26.887928', 1, '中国上海', '{}', '/admin/base/comm/person', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (27, '2023-03-08 15:52:26.891228', '2023-03-08 15:52:26.891228', 1, '中国上海', '{}', '/admin/dict/info/data', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (28, '2023-03-08 15:52:26.895150', '2023-03-08 15:52:26.895150', 1, '中国上海', '{}', '/admin/base/comm/permmenu', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (29, '2023-03-08 15:52:36.138209', '2023-03-08 15:52:36.138209', 1, '中国上海', '{}', '/admin/base/sys/department/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (30, '2023-03-08 15:52:36.286310', '2023-03-08 15:52:36.286310', 1, '中国上海', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\", \"departmentIds\": [1, 12, 11, 13]}', '/admin/base/sys/user/page', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (31, '2023-03-08 15:52:37.200653', '2023-03-08 15:52:37.200653', 1, '中国上海', '{}', '/admin/base/sys/menu/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (32, '2023-03-08 15:52:38.978119', '2023-03-08 15:52:38.978119', 1, '中国上海', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\"}', '/admin/base/sys/role/page', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (33, '2023-03-08 15:52:41.237187', '2023-03-08 15:52:41.237187', 1, '中国上海', '{\"id\": \"12\"}', '/admin/base/sys/role/info', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (34, '2023-03-08 15:52:41.276811', '2023-03-08 15:52:41.276811', 1, '中国上海', '{}', '/admin/base/sys/menu/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (35, '2023-03-08 15:52:41.281342', '2023-03-08 15:52:41.281342', 1, '中国上海', '{}', '/admin/base/sys/department/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (36, '2023-03-08 15:52:43.987953', '2023-03-08 15:52:43.987953', 1, '中国福建厦门', '{\"entity\": \"import { BaseEntity } from \'@cool-midway/core\';\\nimport { Column, Entity, Index } from \'typeorm\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@Entity(\'demo_goods\')\\nexport class DemoGoodsEntity extends BaseEntity {\\n @Index()\\n @Column({ comment: \'标题\', length: 50 })\\n title: string;\\n\\n @Column({\\n comment: \'价格\',\\n type: \'decimal\',\\n precision: 5,\\n scale: 2,\\n })\\n price: number;\\n\\n @Column({ comment: \'描述\', nullable: true })\\n description: string;\\n\\n @Column({ comment: \'主图\', nullable: true })\\n mainImage: string;\\n\\n @Column({ comment: \'示例图\', nullable: true, type: \'json\' })\\n exampleImages: string[];\\n\\n @Column({ comment: \'库存\', default: 0 })\\n stock: number;\\n}\\n\", \"module\": \"demo\", \"controller\": \"import { CoolController, BaseController } from \'@cool-midway/core\';\\nimport { DemoGoodsEntity } from \'../../entity/goods\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@CoolController({\\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\'],\\n entity: DemoGoodsEntity,\\n})\\nexport class AdminDemoGoodsController extends BaseController {}\\n\"}', '/admin/base/sys/menu/parse', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (37, '2023-03-08 15:52:48.326676', '2023-03-08 15:52:48.326676', 1, '中国上海', '{\"id\": \"13\"}', '/admin/base/sys/role/info', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (38, '2023-03-08 15:52:48.385999', '2023-03-08 15:52:48.385999', 1, '中国上海', '{}', '/admin/base/sys/menu/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (39, '2023-03-08 15:52:48.417599', '2023-03-08 15:52:48.417599', 1, '中国上海', '{}', '/admin/base/sys/department/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (40, '2023-03-08 15:52:53.079468', '2023-03-08 15:52:53.079468', 1, '中国上海', '{\"id\": \"12\"}', '/admin/base/sys/role/info', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (41, '2023-03-08 15:52:53.138899', '2023-03-08 15:52:53.138899', 1, '中国上海', '{}', '/admin/base/sys/department/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (42, '2023-03-08 15:52:53.142549', '2023-03-08 15:52:53.142549', 1, '中国上海', '{}', '/admin/base/sys/menu/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (43, '2023-03-08 15:53:01.957481', '2023-03-08 15:53:01.957481', NULL, '中国广东广州', '{\"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc1JlZnJlc2giOnRydWUsInJvbGVJZHMiOlsiMSJdLCJ1c2VybmFtZSI6ImFkbWluIiwidXNlcklkIjoxLCJwYXNzd29yZFZlcnNpb24iOjMsImlhdCI6MTY3ODE3NDcwMiwiZXhwIjoxNjc5NDcwNzAyfQ.HYtzsHJExT7jtqD3gqsxo9YCVWLJe37gcB8FVZZ7S0I\"}', '/admin/base/open/refreshToken', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (44, '2023-03-08 15:53:02.158842', '2023-03-08 15:53:02.158842', 1, '中国广东广州', '{}', '/admin/base/comm/person', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (45, '2023-03-08 15:53:02.161596', '2023-03-08 15:53:02.161596', 1, '中国广东广州', '{}', '/admin/base/comm/permmenu', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (46, '2023-03-08 15:53:02.246476', '2023-03-08 15:53:02.246476', 1, '中国上海', '{}', '/admin/base/sys/menu/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (47, '2023-03-08 15:53:02.248880', '2023-03-08 15:53:02.248880', 1, '中国上海', '{}', '/admin/base/sys/department/list', '180.157.16.67');
|
||||
INSERT INTO `base_sys_log` VALUES (48, '2023-03-08 15:53:02.299040', '2023-03-08 15:53:02.299040', 1, '中国广东广州', '{}', '/admin/dict/info/data', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (49, '2023-03-08 15:53:02.504159', '2023-03-08 15:53:02.504159', 1, '中国广东广州', '{}', '/admin/base/sys/menu/list', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (50, '2023-03-08 15:53:09.638896', '2023-03-08 15:53:09.638896', 1, '中国广东广州', '{}', '/admin/base/sys/menu/list', '59.41.72.163');
|
||||
INSERT INTO `base_sys_log` VALUES (51, '2023-03-08 15:53:29.582710', '2023-03-08 15:53:29.582710', 1, '中国福建厦门', '{\"entity\": \"import { BaseEntity } from \'@cool-midway/core\';\\nimport { Column, Entity, Index } from \'typeorm\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@Entity(\'demo_goods\')\\nexport class DemoGoodsEntity extends BaseEntity {\\n @Index()\\n @Column({ comment: \'标题\', length: 50 })\\n title: string;\\n\\n @Column({\\n comment: \'价格\',\\n type: \'decimal\',\\n precision: 5,\\n scale: 2,\\n })\\n price: number;\\n\\n @Column({ comment: \'描述\', nullable: true })\\n description: string;\\n\\n @Column({ comment: \'主图\', nullable: true })\\n mainImage: string;\\n\\n @Column({ comment: \'示例图\', nullable: true, type: \'json\' })\\n exampleImages: string[];\\n\\n @Column({ comment: \'库存\', default: 0 })\\n stock: number;\\n}\\n\", \"module\": \"demo\", \"controller\": \"import { CoolController, BaseController } from \'@cool-midway/core\';\\nimport { DemoGoodsEntity } from \'../../entity/goods\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@CoolController({\\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\'],\\n entity: DemoGoodsEntity,\\n})\\nexport class AdminDemoGoodsController extends BaseController {}\\n\"}', '/admin/base/sys/menu/parse', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (52, '2023-03-08 15:53:54.328734', '2023-03-08 15:53:54.328734', 1, '中国福建厦门', '{\"entity\": \"import { BaseEntity } from \'@cool-midway/core\';\\nimport { Column, Entity, Index } from \'typeorm\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@Entity(\'demo_goods\')\\nexport class DemoGoodsEntity extends BaseEntity {\\n @Index()\\n @Column({ comment: \'标题\', length: 50 })\\n title: string;\\n\\n @Column({\\n comment: \'价格\',\\n type: \'decimal\',\\n precision: 5,\\n scale: 2,\\n })\\n price: number;\\n\\n @Column({ comment: \'描述\', nullable: true })\\n description: string;\\n\\n @Column({ comment: \'主图\', nullable: true })\\n mainImage: string;\\n\\n @Column({ comment: \'示例图\', nullable: true, type: \'json\' })\\n images: string[];\\n\\n @Column({ comment: \'库存\', default: 0 })\\n stock: number;\\n}\\n\", \"module\": \"demo\", \"controller\": \"import { CoolController, BaseController } from \'@cool-midway/core\';\\nimport { DemoGoodsEntity } from \'../../entity/goods\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@CoolController({\\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\'],\\n entity: DemoGoodsEntity,\\n})\\nexport class AdminDemoGoodsController extends BaseController {}\\n\"}', '/admin/base/sys/menu/parse', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (53, '2023-03-08 15:53:58.434739', '2023-03-08 15:53:58.434739', 1, '中国上海', '{\"page\": 1, \"size\": 20, \"sort\": \"asc\", \"order\": \"createTime\"}', '/admin/cloud/db/page', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (54, '2023-03-08 15:53:58.485938', '2023-03-08 15:53:58.485938', 1, '中国上海', '{\"id\": 13, \"method\": \"page\", \"params\": {\"page\": 1, \"size\": 20}}', '/admin/cloud/db/data', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (55, '2023-03-08 15:54:15.974500', '2023-03-08 15:54:15.974500', 1, '中国上海', '{}', '/admin/base/sys/department/list', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (56, '2023-03-08 15:54:16.057400', '2023-03-08 15:54:16.057400', 1, '中国上海', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\", \"departmentIds\": [1, 12, 11, 13]}', '/admin/base/sys/user/page', '117.144.123.126');
|
||||
INSERT INTO `base_sys_log` VALUES (57, '2023-03-08 15:54:33.498011', '2023-03-08 15:54:33.498011', 1, '中国福建厦门', '{\"entity\": \"import { BaseEntity } from \'@cool-midway/core\';\\nimport { Column, Entity, Index } from \'typeorm\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@Entity(\'demo_goods\')\\nexport class DemoGoodsEntity extends BaseEntity {\\n @Index()\\n @Column({ comment: \'标题\', length: 50 })\\n title: string;\\n\\n @Column({\\n comment: \'价格\',\\n type: \'decimal\',\\n precision: 5,\\n scale: 2,\\n })\\n price: number;\\n\\n @Column({ comment: \'描述\', nullable: true })\\n description: string;\\n\\n @Column({ comment: \'主图\', nullable: true })\\n mainImage: string;\\n\\n @Column({ comment: \'示例图\', nullable: true, type: \'json\' })\\n exampleImages: string[];\\n\\n @Column({ comment: \'库存\', default: 0 })\\n stock: number;\\n}\\n\", \"module\": \"demo\", \"controller\": \"import { CoolController, BaseController } from \'@cool-midway/core\';\\nimport { DemoGoodsEntity } from \'../../entity/goods\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@CoolController({\\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\'],\\n entity: DemoGoodsEntity,\\n})\\nexport class AdminDemoGoodsController extends BaseController {}\\n\"}', '/admin/base/sys/menu/parse', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (58, '2023-03-08 15:54:48.705892', '2023-03-08 15:54:48.705892', 1, '中国福建厦门', '{\"entity\": \"import { BaseEntity } from \'@cool-midway/core\';\\nimport { Column, Entity, Index } from \'typeorm\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@Entity(\'demo_goods\')\\nexport class DemoGoodsEntity extends BaseEntity {\\n @Index()\\n @Column({ comment: \'标题\', length: 50 })\\n title: string;\\n\\n @Column({\\n comment: \'价格\',\\n type: \'decimal\',\\n precision: 5,\\n scale: 2,\\n })\\n price: number;\\n\\n @Column({ comment: \'描述\', nullable: true })\\n description: string;\\n\\n @Column({ comment: \'主图\', nullable: true })\\n mainImage: string;\\n\\n @Column({ comment: \'示例图\', nullable: true, type: \'json\' })\\n exampleImages: string[];\\n\\n @Column({ comment: \'库存\', default: 0 })\\n stock: number;\\n}\\n\", \"module\": \"demo\", \"controller\": \"import { CoolController, BaseController } from \'@cool-midway/core\';\\nimport { DemoGoodsEntity } from \'../../entity/goods\';\\n\\n/**\\n * 商品模块-商品信息\\n */\\n@CoolController({\\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\'],\\n entity: DemoGoodsEntity,\\n})\\nexport class AdminDemoGoodsController extends BaseController {}\\n\"}', '/admin/base/sys/menu/parse', '120.41.105.246');
|
||||
INSERT INTO `base_sys_log` VALUES (59, '2023-03-08 15:55:13.675921', '2023-03-08 15:55:13.675921', 1, '中国重庆', '{\"page\": 1, \"size\": 20, \"sort\": \"asc\", \"order\": \"createTime\"}', '/admin/dict/type/page', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (60, '2023-03-08 15:55:13.785352', '2023-03-08 15:55:13.785352', 1, '中国重庆', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 19}', '/admin/dict/info/list', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (61, '2023-03-08 15:55:16.514638', '2023-03-08 15:55:16.514638', 1, '中国重庆', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 20}', '/admin/dict/info/list', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (62, '2023-03-08 15:55:17.145460', '2023-03-08 15:55:17.145460', 1, '中国重庆', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 19}', '/admin/dict/info/list', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (63, '2023-03-08 15:55:27.212735', '2023-03-08 15:55:27.212735', 1, '中国重庆', '{}', '/admin/base/comm/person', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (64, '2023-03-08 15:55:27.215578', '2023-03-08 15:55:27.215578', 1, '中国重庆', '{}', '/admin/base/comm/permmenu', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (65, '2023-03-08 15:55:27.321407', '2023-03-08 15:55:27.321407', 1, '中国重庆', '{}', '/admin/dict/info/data', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (66, '2023-03-08 15:55:27.654261', '2023-03-08 15:55:27.654261', 1, '中国重庆', '{\"page\": 1, \"size\": 20, \"sort\": \"asc\", \"order\": \"createTime\"}', '/admin/dict/type/page', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (67, '2023-03-08 15:55:27.843392', '2023-03-08 15:55:27.843392', 1, '中国重庆', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 19}', '/admin/dict/info/list', '183.67.5.122');
|
||||
INSERT INTO `base_sys_log` VALUES (68, '2023-03-08 15:58:52.332386', '2023-03-08 15:58:52.332386', 1, '中国湖北武汉', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 1}', '/admin/dict/info/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (69, '2023-03-08 15:58:53.851527', '2023-03-08 15:58:53.851527', 1, '中国湖北武汉', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 1}', '/admin/dict/info/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (70, '2023-03-08 15:58:55.064588', '2023-03-08 15:58:55.064588', 1, '中国湖北武汉', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 2}', '/admin/dict/info/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (71, '2023-03-08 15:58:56.127895', '2023-03-08 15:58:56.127895', 1, '中国湖北武汉', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 1}', '/admin/dict/info/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (72, '2023-03-08 15:59:03.274954', '2023-03-08 15:59:03.274954', NULL, '中国江苏无锡', '{\"width\": \"150\", \"height\": \"40\"}', '/admin/base/open/captcha', '114.223.221.221');
|
||||
INSERT INTO `base_sys_log` VALUES (73, '2023-03-08 15:59:13.421320', '2023-03-08 15:59:13.421320', 1, '中国湖北武汉', '{}', '/admin/base/comm/person', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (74, '2023-03-08 15:59:13.424368', '2023-03-08 15:59:13.424368', 1, '中国湖北武汉', '{}', '/admin/base/comm/permmenu', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (75, '2023-03-08 15:59:14.182852', '2023-03-08 15:59:14.182852', 1, '中国湖北武汉', '{}', '/admin/dict/info/data', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (76, '2023-03-08 15:59:14.286392', '2023-03-08 15:59:14.286392', 1, '中国湖北武汉', '{\"page\": 1, \"size\": 20, \"sort\": \"asc\", \"order\": \"createTime\"}', '/admin/dict/type/page', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (77, '2023-03-08 15:59:14.563931', '2023-03-08 15:59:14.563931', 1, '中国湖北武汉', '{\"sort\": \"desc\", \"order\": \"orderNum\", \"typeId\": 19}', '/admin/dict/info/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (78, '2023-03-08 15:59:17.153327', '2023-03-08 15:59:17.153327', 1, '中国湖北武汉', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\"}', '/admin/recycle/data/page', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (79, '2023-03-08 15:59:19.719237', '2023-03-08 15:59:19.719237', 1, '中国湖北武汉', '{}', '/admin/base/sys/department/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (80, '2023-03-08 15:59:19.778681', '2023-03-08 15:59:19.778681', 1, '中国湖北武汉', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\", \"departmentIds\": [1, 12, 11, 13]}', '/admin/base/sys/user/page', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (81, '2023-03-08 15:59:20.920064', '2023-03-08 15:59:20.920064', 1, '中国湖北武汉', '{}', '/admin/base/sys/menu/list', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (82, '2023-03-08 15:59:22.042354', '2023-03-08 15:59:22.042354', 1, '中国湖北武汉', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\"}', '/admin/base/sys/role/page', '113.57.172.19');
|
||||
INSERT INTO `base_sys_log` VALUES (83, '2023-03-08 15:59:23.278647', '2023-03-08 15:59:23.278647', 1, '中国福建厦门', '{}', '/admin/base/comm/person', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (84, '2023-03-08 15:59:23.284546', '2023-03-08 15:59:23.284546', 1, '中国福建厦门', '{}', '/admin/base/comm/permmenu', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (85, '2023-03-08 15:59:23.447091', '2023-03-08 15:59:23.447091', 1, '中国福建厦门', '{}', '/admin/dict/info/data', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (86, '2023-03-08 15:59:25.675533', '2023-03-08 15:59:25.675533', 1, '中国福建厦门', '{}', '/admin/base/sys/department/list', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (87, '2023-03-08 15:59:25.777136', '2023-03-08 15:59:25.777136', 1, '中国福建厦门', '{\"page\": 1, \"size\": 20, \"sort\": \"desc\", \"order\": \"createTime\", \"departmentIds\": [1, 12, 11, 13]}', '/admin/base/sys/user/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (88, '2023-03-08 15:59:26.628797', '2023-03-08 15:59:26.628797', 1, '中国福建厦门', '{}', '/admin/base/sys/menu/list', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (89, '2023-03-08 15:59:31.325188', '2023-03-08 15:59:31.325188', 1, '中国福建厦门', '{\"page\": 1, \"size\": 20, \"sort\": \"asc\", \"order\": \"createTime\"}', '/admin/space/type/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (90, '2023-03-08 15:59:31.368526', '2023-03-08 15:59:31.368526', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 0, \"classifyId\": 9}', '/admin/space/info/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (91, '2023-03-08 15:59:32.568553', '2023-03-08 15:59:32.568553', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 1, \"classifyId\": 10}', '/admin/space/info/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (92, '2023-03-08 15:59:33.676047', '2023-03-08 15:59:33.676047', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 2, \"classifyId\": 11}', '/admin/space/info/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (93, '2023-03-08 15:59:34.652873', '2023-03-08 15:59:34.652873', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 0, \"classifyId\": 14}', '/admin/space/info/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (94, '2023-03-08 15:59:35.572510', '2023-03-08 15:59:35.572510', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 0, \"classifyId\": 9}', '/admin/space/info/page', '117.28.153.117');
|
||||
INSERT INTO `base_sys_log` VALUES (95, '2023-03-08 15:59:37.336948', '2023-03-08 15:59:37.336948', 1, '中国福建厦门', '{\"page\": 1, \"size\": 50, \"type\": \"image\", \"total\": 1, \"classifyId\": 10}', '/admin/space/info/page', '117.28.153.117');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for base_sys_menu
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_menu`;
|
||||
CREATE TABLE `base_sys_menu` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`parentId` bigint(20) DEFAULT NULL COMMENT '父菜单ID',
|
||||
`name` varchar(255) NOT NULL COMMENT '菜单名称',
|
||||
`router` varchar(255) DEFAULT NULL COMMENT '菜单地址',
|
||||
`perms` varchar(255) DEFAULT NULL COMMENT '权限标识',
|
||||
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:目录 1:菜单 2:按钮',
|
||||
`icon` varchar(255) DEFAULT NULL COMMENT '图标',
|
||||
`orderNum` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`viewPath` varchar(255) DEFAULT NULL COMMENT '视图地址',
|
||||
`keepAlive` tinyint(4) NOT NULL DEFAULT '1' COMMENT '路由缓存',
|
||||
`isShow` tinyint(4) NOT NULL DEFAULT '1' COMMENT '父菜单名称',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_05e3d6a56604771a6da47ebf8e` (`createTime`),
|
||||
KEY `IDX_d5203f18daaf7c3fe0ab34497f` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=120 DEFAULT CHARSET=utf8mb4;
|
||||
`parentId` bigint DEFAULT NULL COMMENT '父菜单ID',
|
||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '菜单名称',
|
||||
`router` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '菜单地址',
|
||||
`perms` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '权限标识',
|
||||
`type` tinyint NOT NULL DEFAULT '0' COMMENT '类型 0-目录 1-菜单 2-按钮',
|
||||
`icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '图标',
|
||||
`orderNum` int NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`viewPath` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '视图地址',
|
||||
`keepAlive` tinyint NOT NULL DEFAULT '1' COMMENT '路由缓存',
|
||||
`isShow` tinyint NOT NULL DEFAULT '1' COMMENT '是否显示',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_05e3d6a56604771a6da47ebf8e` (`createTime`) USING BTREE,
|
||||
KEY `IDX_d5203f18daaf7c3fe0ab34497f` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=453 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_menu
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_menu` VALUES (1, '2019-09-11 11:14:44.000000', '2019-11-18 15:56:36.000000', NULL, '工作台', '/', NULL, 0, 'icon-workbench', 1, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (2, '2019-09-11 11:14:47.000000', '2021-02-27 17:16:05.000000', NULL, '系统管理', '/sys', NULL, 0, 'icon-system', 2, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (8, '1900-01-20 23:19:57.000000', '2021-03-08 22:59:12.000000', 27, '菜单列表', '/sys/menu', NULL, 1, 'icon-menu', 2, 'cool/modules/base/views/menu.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (10, '1900-01-20 00:19:27.325000', '1900-01-20 00:19:27.325000', 8, '新增', NULL, 'base:sys:menu:add', 2, NULL, 1, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (11, '1900-01-20 00:19:51.101000', '1900-01-20 00:19:51.101000', 8, '删除', NULL, 'base:sys:menu:delete', 2, NULL, 2, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (12, '1900-01-20 00:20:05.150000', '1900-01-20 00:20:05.150000', 8, '修改', NULL, 'base:sys:menu:update', 2, NULL, 3, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (13, '1900-01-20 00:20:19.341000', '1900-01-20 00:20:19.341000', 8, '查询', NULL, 'base:sys:menu:page,base:sys:menu:list,base:sys:menu:info', 2, NULL, 4, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (22, '2019-09-12 00:34:01.000000', '2021-03-08 22:59:23.000000', 27, '角色列表', '/sys/role', NULL, 1, 'icon-common', 3, 'cool/modules/base/views/role.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (22, '2019-09-12 00:34:01.000000', '2023-02-17 16:14:37.299000', 27, '角色列表', '/sys/role', NULL, 1, 'icon-dept', 3, 'cool/modules/base/views/role.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (23, '1900-01-20 00:34:23.459000', '1900-01-20 00:34:23.459000', 22, '新增', NULL, 'base:sys:role:add', 2, NULL, 1, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (24, '1900-01-20 00:34:40.523000', '1900-01-20 00:34:40.523000', 22, '删除', NULL, 'base:sys:role:delete', 2, NULL, 2, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (25, '1900-01-20 00:34:53.306000', '1900-01-20 00:34:53.306000', 22, '修改', NULL, 'base:sys:role:update', 2, NULL, 3, NULL, 0, 1);
|
||||
@ -169,18 +211,15 @@ INSERT INTO `base_sys_menu` VALUES (26, '1900-01-20 00:35:05.024000', '1900-01-2
|
||||
INSERT INTO `base_sys_menu` VALUES (27, '2019-09-12 15:52:44.000000', '2019-09-15 22:11:56.000000', 2, '权限管理', NULL, NULL, 0, 'icon-auth', 1, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (29, '2019-09-12 17:35:51.000000', '2021-03-08 23:01:39.000000', 105, '请求日志', '/sys/log', NULL, 1, 'icon-log', 1, 'cool/modules/base/views/log.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (30, '2019-09-12 17:37:03.000000', '2021-03-03 10:16:26.000000', 29, '权限', NULL, 'base:sys:log:page,base:sys:log:clear,base:sys:log:getKeep,base:sys:log:setKeep', 2, NULL, 1, NULL, 0, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (43, '2019-11-07 14:22:34.000000', '2021-03-08 23:02:51.000000', 45, 'crud 示例', '/crud', NULL, 1, 'icon-favor', 1, 'cool/modules/demo/views/crud.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (45, '2019-11-07 22:36:57.000000', '2019-11-11 15:21:10.000000', 1, '组件库', '/ui-lib', NULL, 0, 'icon-common', 2, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (47, '2019-11-08 09:35:08.000000', '2021-02-27 17:16:35.000000', NULL, '框架教程', '/tutorial', NULL, 0, 'icon-task', 4, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (47, '2019-11-08 09:35:08.000000', '2023-02-13 19:30:28.560000', NULL, '框架教程', '/tutorial', NULL, 0, 'icon-task', 98, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (48, '2019-11-08 09:35:53.000000', '2021-03-03 11:03:21.000000', 47, '文档', '/tutorial/doc', NULL, 1, 'icon-log', 0, 'https://admin.cool-js.com', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (49, '2019-11-09 22:11:13.000000', '2021-03-09 09:50:46.000000', 45, 'quill 富文本编辑器', '/editor-quill', NULL, 1, 'icon-favor', 2, 'cool/modules/demo/views/editor-quill.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (59, '2019-11-18 16:50:27.000000', '2019-11-18 16:50:27.000000', 97, '部门列表', NULL, 'base:sys:department:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (60, '2019-11-18 16:50:45.000000', '2019-11-18 16:50:45.000000', 97, '新增部门', NULL, 'base:sys:department:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (61, '2019-11-18 16:50:59.000000', '2019-11-18 16:50:59.000000', 97, '更新部门', NULL, 'base:sys:department:update', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (62, '2019-11-18 16:51:13.000000', '2019-11-18 16:51:13.000000', 97, '删除部门', NULL, 'base:sys:department:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (63, '2019-11-18 17:49:35.000000', '2019-11-18 17:49:35.000000', 97, '部门排序', NULL, 'base:sys:department:order', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (65, '2019-11-18 23:59:21.000000', '2019-11-18 23:59:21.000000', 97, '用户转移', NULL, 'base:sys:user:move', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (78, '2019-12-10 13:27:56.000000', '2021-02-27 17:08:53.000000', 2, '参数配置', NULL, NULL, 0, 'icon-common', 4, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (78, '2019-12-10 13:27:56.000000', '2023-02-17 16:05:06.071000', 2, '参数配置', NULL, NULL, 0, 'icon-params', 3, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (79, '1900-01-20 13:29:33.000000', '2021-03-08 23:01:48.000000', 78, '参数列表', '/sys/param', NULL, 1, 'icon-menu', 0, 'cool/modules/base/views/param.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (80, '1900-01-20 13:29:50.146000', '1900-01-20 13:29:50.146000', 79, '新增', NULL, 'base:sys:param:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (81, '1900-01-20 13:30:10.030000', '1900-01-20 13:30:10.030000', 79, '修改', NULL, 'base:sys:param:info,base:sys:param:update', 2, NULL, 0, NULL, 1, 1);
|
||||
@ -188,26 +227,67 @@ INSERT INTO `base_sys_menu` VALUES (82, '1900-01-20 13:30:25.791000', '1900-01-2
|
||||
INSERT INTO `base_sys_menu` VALUES (83, '1900-01-20 13:30:40.469000', '1900-01-20 13:30:40.469000', 79, '查看', NULL, 'base:sys:param:page,base:sys:param:list,base:sys:param:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (84, '2020-07-25 16:21:30.000000', '2020-07-25 16:21:30.000000', NULL, '通用', NULL, NULL, 0, 'icon-radioboxfill', 99, NULL, 1, 0);
|
||||
INSERT INTO `base_sys_menu` VALUES (85, '2020-07-25 16:22:14.000000', '2021-03-03 10:36:00.000000', 84, '图片上传', NULL, 'space:info:page,space:info:list,space:info:info,space:info:add,space:info:delete,space:info:update,space:type:page,space:type:list,space:type:info,space:type:add,space:type:delete,space:type:update', 2, NULL, 1, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (86, '2020-08-12 09:56:27.000000', '2021-03-08 23:03:03.000000', 45, '文件上传', '/upload', NULL, 1, 'icon-favor', 3, 'cool/modules/demo/views/upload.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (90, '1900-01-20 10:26:58.615000', '1900-01-20 10:26:58.615000', 84, '客服聊天', NULL, 'base:app:im:message:read,base:app:im:message:page,base:app:im:session:page,base:app:im:session:list,base:app:im:session:unreadCount,base:app:im:session:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (96, '2021-01-12 14:12:20.000000', '2021-03-08 23:02:40.000000', 1, '组件预览', '/demo', NULL, 1, 'icon-favor', 0, 'cool/modules/demo/views/demo.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (97, '1900-01-20 14:14:02.000000', '2021-03-09 11:03:09.000000', 27, '用户列表', '/sys/user', NULL, 1, 'icon-user', 0, 'cool/modules/base/views/user.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (97, '1900-01-20 14:14:02.000000', '2023-02-28 15:51:30.854000', 27, '用户列表', '/sys/user', NULL, 1, 'icon-user', 0, 'modules/base/views/user/index.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (98, '1900-01-20 14:14:13.528000', '1900-01-20 14:14:13.528000', 97, '新增', NULL, 'base:sys:user:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (99, '1900-01-20 14:14:22.823000', '1900-01-20 14:14:22.823000', 97, '删除', NULL, 'base:sys:user:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (100, '1900-01-20 14:14:33.973000', '1900-01-20 14:14:33.973000', 97, '修改', NULL, 'base:sys:user:delete,base:sys:user:update', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (101, '2021-01-12 14:14:51.000000', '2021-01-12 14:14:51.000000', 97, '查询', NULL, 'base:sys:user:page,base:sys:user:list,base:sys:user:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (105, '2021-01-21 10:42:55.000000', '2021-01-21 10:42:55.000000', 2, '监控管理', NULL, NULL, 0, 'icon-rank', 6, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (109, '2021-02-27 14:13:56.000000', '2021-02-27 17:09:19.000000', NULL, '插件管理', NULL, NULL, 0, 'icon-menu', 3, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (110, '2021-02-27 14:14:13.000000', '2021-03-08 23:01:30.000000', 109, '插件列表', '/plugin', NULL, 1, 'icon-menu', 0, 'cool/modules/base/views/plugin.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (111, '2021-02-27 14:24:41.877000', '2021-02-27 14:24:41.877000', 110, '编辑', NULL, 'base:plugin:info:info,base:plugin:info:update', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (112, '2021-02-27 14:24:52.159000', '2021-02-27 14:24:52.159000', 110, '列表', NULL, 'base:plugin:info:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (113, '2021-02-27 14:25:02.066000', '2021-02-27 14:25:02.066000', 110, '删除', NULL, 'base:plugin:info:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (114, '2021-02-27 16:36:59.322000', '2021-02-27 16:36:59.322000', 110, '保存配置', NULL, 'base:plugin:info:config', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (115, '2021-02-27 16:38:21.000000', '2021-02-27 18:18:22.000000', 110, '获取配置', NULL, 'base:plugin:info:getConfig', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (116, '2021-02-27 17:57:42.000000', '2021-02-27 18:19:35.000000', 110, '开启、关闭', NULL, 'base:plugin:info:enable', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (117, '2021-03-05 10:58:25.000000', '2021-03-05 10:58:25.000000', NULL, '任务管理', NULL, NULL, 0, 'icon-activity', 5, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (118, '2021-03-05 10:59:42.000000', '2021-03-05 10:59:42.000000', 117, '任务列表', '/task', NULL, 1, 'icon-menu', 0, 'cool/modules/task/views/task.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (105, '2021-01-21 10:42:55.000000', '2023-02-17 16:05:19.312000', 2, '监控管理', NULL, NULL, 0, 'icon-monitor', 9, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (117, '2021-03-05 10:58:25.000000', '2023-02-13 19:30:39.636000', NULL, '任务管理', NULL, NULL, 0, 'icon-activity', 97, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (118, '2021-03-05 10:59:42.000000', '2023-02-14 14:05:48.454000', 117, '任务列表', '/task/list', NULL, 1, 'icon-menu', 0, 'modules/task/views/list.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (119, '2021-03-05 11:00:00.000000', '2021-03-05 11:00:00.000000', 118, '权限', NULL, 'task:info:page,task:info:list,task:info:info,task:info:add,task:info:delete,task:info:update,task:info:stop,task:info:start,task:info:once,task:info:log', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (197, '2022-07-05 16:05:27.403000', '2023-02-17 16:02:39.668000', NULL, '字典管理', NULL, NULL, 0, 'icon-dict', 3, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (198, '2022-07-05 16:08:50.307000', '2022-07-05 16:14:13.196000', 197, '字典列表', '/dict/list', NULL, 1, 'icon-menu', 1, 'modules/dict/views/list.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (199, '2022-07-05 16:08:50.748162', '2022-07-05 16:08:50.748162', 198, '删除', NULL, 'dict:info:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (200, '2022-07-05 16:08:50.800623', '2022-07-05 16:08:50.800623', 198, '修改', NULL, 'dict:info:update,dict:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (201, '2022-07-05 16:08:50.859141', '2022-07-05 16:08:50.859141', 198, '获得字典数据', NULL, 'dict:info:data', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (202, '2022-07-05 16:08:50.916874', '2022-07-05 16:08:50.916874', 198, '单个信息', NULL, 'dict:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (203, '2022-07-05 16:08:50.972783', '2022-07-05 16:08:50.972783', 198, '列表查询', NULL, 'dict:info:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (204, '2022-07-05 16:08:51.030928', '2022-07-05 16:08:51.030928', 198, '分页查询', NULL, 'dict:info:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (205, '2022-07-05 16:08:51.087883', '2022-07-05 16:08:51.087883', 198, '新增', NULL, 'dict:info:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (206, '2022-07-06 10:41:26.503000', '2022-07-06 10:41:37.000000', 198, '组权限', NULL, 'dict:type:list,dict:type:update,dict:type:delete,dict:type:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (228, '2023-02-13 14:57:10.974000', '2023-02-17 16:03:12.480000', NULL, '数据管理', NULL, NULL, 0, 'icon-data', 3, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (229, '2023-02-13 14:57:47.855000', '2023-02-17 16:04:57.051000', 228, '数据回收站', '/recycle/data', NULL, 1, 'icon-delete', 1, 'modules/recycle/views/data.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (230, '2023-02-13 14:57:48.293292', '2023-02-13 14:57:48.293292', 229, '恢复数据', NULL, 'recycle:data:restore', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (231, '2023-02-13 14:57:48.293292', '2023-02-13 14:57:48.293292', 229, '单个信息', NULL, 'recycle:data:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (232, '2023-02-13 14:57:48.293292', '2023-02-13 14:57:48.293292', 229, '分页查询', NULL, 'recycle:data:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (233, '2023-02-13 19:29:49.240000', '2023-02-17 16:04:17.603000', NULL, '物联管理', NULL, NULL, 0, 'icon-iot', 4, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (234, '2023-02-13 19:31:31.890000', '2023-02-19 14:53:36.538000', 233, 'MQTT', '/iot/device', NULL, 1, 'icon-device', 1, 'modules/iot/views/device.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (235, '2023-02-13 19:32:58.637593', '2023-02-13 19:32:58.637593', 234, '删除', NULL, 'iot:device:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (236, '2023-02-13 19:32:58.637593', '2023-02-13 19:32:58.637593', 234, '单个信息', NULL, 'iot:device:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (237, '2023-02-13 19:32:58.637593', '2023-02-13 19:32:58.637593', 234, '列表查询', NULL, 'iot:device:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (238, '2023-02-13 19:32:58.637593', '2023-02-13 19:32:58.637593', 234, '分页查询', NULL, 'iot:device:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (239, '2023-02-15 11:21:16.610000', '2023-02-15 14:56:08.425000', NULL, '文件管理', '/upload/list', NULL, 1, 'icon-log', 97, 'modules/upload/views/list.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (240, '2023-02-15 14:34:46.552000', '2023-02-17 16:04:29.152000', NULL, '函数开发', NULL, NULL, 0, 'icon-fx', 6, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (241, '2023-02-15 14:35:31.765000', '2023-02-17 16:04:36.963000', 240, '云数据库', '/cloud/db', NULL, 1, 'icon-db', 1, 'modules/cloud/views/db.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (242, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '初始化Entity', NULL, 'cloud:db:initEntity', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (243, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '删除', NULL, 'cloud:db:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (244, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '修改', NULL, 'cloud:db:update,cloud:db:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (245, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '数据操作测试', NULL, 'cloud:db:data', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (246, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '单个信息', NULL, 'cloud:db:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (247, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '列表查询', NULL, 'cloud:db:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (248, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '分页查询', NULL, 'cloud:db:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (249, '2023-02-15 14:33:24.192728', '2023-02-15 14:33:24.192728', 241, '新增', NULL, 'cloud:db:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (250, '2023-02-15 15:17:10.524000', '2023-02-15 15:17:10.524000', 240, '云函数', '/cloud/func/info', NULL, 1, 'icon-menu', 2, 'modules/cloud/views/func/info.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (251, '2023-02-15 15:15:02.900934', '2023-02-28 16:08:47.978000', 250, '调用云函数', NULL, 'cloud:func:info:invoke', 2, NULL, 98, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (252, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '删除', NULL, 'cloud:func:info:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (253, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '修改', NULL, 'cloud:func:info:update,cloud:func:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (254, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '单个信息', NULL, 'cloud:func:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (255, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '列表查询', NULL, 'cloud:func:info:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (256, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '分页查询', NULL, 'cloud:func:info:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (257, '2023-02-15 15:15:02.900934', '2023-02-15 15:15:02.900934', 250, '新增', NULL, 'cloud:func:info:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (259, '2023-02-17 15:25:20.762000', '2023-02-17 15:25:20.762000', 234, '修改', NULL, 'iot:device:info,iot:device:update', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (260, '2023-02-17 16:26:55.842000', '2023-02-17 16:28:41.738000', NULL, '页面设计', '/design/page', NULL, 1, 'icon-design', 7, 'modules/design/views/page.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (261, '2023-02-20 00:12:20.783000', '2023-02-20 00:12:20.783000', 234, '新增', NULL, 'iot:device:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (262, '2023-02-20 00:32:45.656000', '2023-02-28 16:08:42.999000', 250, '云函数开发', NULL, 'cloud:func:info:info,cloud:func:info:update,cloud:func:info:invoke', 2, NULL, 99, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (263, '2023-02-20 00:33:17.789000', '2023-02-20 00:33:17.789000', 250, '查看日志', NULL, 'cloud:func:log:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (446, '2023-03-06 22:50:24.125000', '2023-03-06 22:50:24.125000', 8, '参数', '/test/aa', NULL, 1, 'icon-goods', 0, 'modules/base/views/info.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (447, '2023-03-07 10:26:51.746000', '2023-03-07 10:26:51.746000', NULL, '工作台', NULL, NULL, 0, 'icon-workbench', 1, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (448, '2023-03-07 10:27:21.084000', '2023-03-07 10:27:21.084000', 447, '组件预览', '/demo', NULL, 1, 'icon-favor', 1, 'modules/demo/views/demo.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (449, '2023-03-07 10:27:54.079000', '2023-03-07 10:27:54.079000', 447, '组件库', NULL, NULL, 0, 'icon-common', 2, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (450, '2023-03-07 10:28:17.692000', '2023-03-07 10:28:17.692000', 449, 'crud 示例', '/demo/crud', NULL, 1, 'icon-favor', 1, 'modules/demo/views/crud.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (451, '2023-03-07 10:28:44.322000', '2023-03-07 10:28:44.322000', 449, '编辑器', '/demo/editor', NULL, 1, 'icon-favor', 2, 'modules/demo/views/editor.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (452, '2023-03-07 10:29:06.344000', '2023-03-07 10:29:06.344000', 449, '文件上传', '/demo/upload', NULL, 1, 'icon-favor', 3, 'modules/demo/views/upload.vue', 1, 1);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -215,26 +295,26 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_param`;
|
||||
CREATE TABLE `base_sys_param` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`keyName` varchar(255) NOT NULL COMMENT '键位',
|
||||
`name` varchar(255) NOT NULL COMMENT '名称',
|
||||
`data` text NOT NULL COMMENT '数据',
|
||||
`dataType` tinyint(4) NOT NULL DEFAULT '0' COMMENT '数据类型 0:字符串 1:数组 2:键值对',
|
||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_cf19b5e52d8c71caa9c4534454` (`keyName`),
|
||||
KEY `IDX_7bcb57371b481d8e2d66ddeaea` (`createTime`),
|
||||
KEY `IDX_479122e3bf464112f7a7253dac` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4;
|
||||
`keyName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '键位',
|
||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
||||
`data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '数据',
|
||||
`dataType` tinyint NOT NULL DEFAULT '0' COMMENT '数据类型 0:字符串 1:数组 2:键值对',
|
||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_cf19b5e52d8c71caa9c4534454` (`keyName`) USING BTREE,
|
||||
KEY `IDX_7bcb57371b481d8e2d66ddeaea` (`createTime`) USING BTREE,
|
||||
KEY `IDX_479122e3bf464112f7a7253dac` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_param
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_param` VALUES (1, '2021-02-26 13:53:05.000000', '2021-03-03 17:50:04.000000', 'text', '富文本参数', '<p><strong class=\"ql-size-huge\">111xxxxx2222<span class=\"ql-cursor\"></span></strong></p>', 0, NULL);
|
||||
INSERT INTO `base_sys_param` VALUES (2, '2021-02-26 13:53:18.000000', '2021-02-26 13:53:18.000000', 'json', 'JSON参数', '{\n code: 111\n}', 0, NULL);
|
||||
INSERT INTO `base_sys_param` VALUES (2, '2021-02-26 13:53:18.000000', '2023-03-06 12:18:12.329000', 'json', 'JSON参数', '{\n \"code\": 111233\n}', 0, NULL);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -242,30 +322,32 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_role`;
|
||||
CREATE TABLE `base_sys_role` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`userId` varchar(255) NOT NULL COMMENT '用户ID',
|
||||
`name` varchar(255) NOT NULL COMMENT '名称',
|
||||
`label` varchar(50) DEFAULT NULL COMMENT '角色标签',
|
||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||
`relevance` int(11) NOT NULL DEFAULT '1' COMMENT '数据权限是否关联上下级',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `IDX_469d49a5998170e9550cf113da` (`name`),
|
||||
UNIQUE KEY `IDX_f3f24fbbccf00192b076e549a7` (`label`),
|
||||
KEY `IDX_6f01184441dec49207b41bfd92` (`createTime`),
|
||||
KEY `IDX_d64ca209f3fc52128d9b20e97b` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4;
|
||||
`userId` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户ID',
|
||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
||||
`label` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '角色标签',
|
||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '备注',
|
||||
`relevance` int NOT NULL DEFAULT '1' COMMENT '数据权限是否关联上下级',
|
||||
`menuIdList` json NOT NULL COMMENT '菜单权限',
|
||||
`departmentIdList` json NOT NULL COMMENT '部门权限',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `IDX_469d49a5998170e9550cf113da` (`name`) USING BTREE,
|
||||
UNIQUE KEY `IDX_f3f24fbbccf00192b076e549a7` (`label`) USING BTREE,
|
||||
KEY `IDX_6f01184441dec49207b41bfd92` (`createTime`) USING BTREE,
|
||||
KEY `IDX_d64ca209f3fc52128d9b20e97b` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_role
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_role` VALUES (1, '2021-02-24 21:18:39.682358', '2021-02-24 21:18:39.682358', '1', '超管', 'admin', '最高权限的角色', 1);
|
||||
INSERT INTO `base_sys_role` VALUES (10, '2021-02-26 14:15:38.000000', '2021-02-26 14:15:38.000000', '1', '系统管理员', 'admin-sys', NULL, 1);
|
||||
INSERT INTO `base_sys_role` VALUES (11, '2021-02-26 14:16:49.044744', '2021-02-26 14:16:49.044744', '1', '游客', 'visitor', NULL, 0);
|
||||
INSERT INTO `base_sys_role` VALUES (12, '2021-02-26 14:26:51.000000', '2021-02-26 14:32:35.000000', '1', '开发', 'dev', NULL, 0);
|
||||
INSERT INTO `base_sys_role` VALUES (13, '2021-02-26 14:27:58.000000', '2021-02-26 14:33:49.000000', '1', '测试', 'test', NULL, 0);
|
||||
INSERT INTO `base_sys_role` VALUES (1, '2021-02-24 21:18:39.682358', '2021-02-24 21:18:39.682358', '1', '超管', 'admin', '最高权限的角色', 1, 'null', 'null');
|
||||
INSERT INTO `base_sys_role` VALUES (10, '2021-02-26 14:15:38.000000', '2021-02-26 14:15:38.000000', '1', '系统管理员', 'admin-sys', NULL, 1, 'null', 'null');
|
||||
INSERT INTO `base_sys_role` VALUES (11, '2021-02-26 14:16:49.044744', '2021-02-26 14:16:49.044744', '1', '游客', 'visitor', NULL, 0, 'null', 'null');
|
||||
INSERT INTO `base_sys_role` VALUES (12, '2021-02-26 14:26:51.000000', '2021-02-26 14:32:35.000000', '1', '开发', 'dev', NULL, 0, 'null', 'null');
|
||||
INSERT INTO `base_sys_role` VALUES (13, '2021-02-26 14:27:58.000000', '2023-02-20 11:01:16.995000', '1', '测试', 'test', NULL, 0, 'null', 'null');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -273,15 +355,15 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_role_department`;
|
||||
CREATE TABLE `base_sys_role_department` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`roleId` bigint(20) NOT NULL COMMENT '角色ID',
|
||||
`departmentId` bigint(20) NOT NULL COMMENT '部门ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_e881a66f7cce83ba431cf20194` (`createTime`),
|
||||
KEY `IDX_cbf48031efee5d0de262965e53` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4;
|
||||
`roleId` bigint NOT NULL COMMENT '角色ID',
|
||||
`departmentId` bigint NOT NULL COMMENT '部门ID',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_e881a66f7cce83ba431cf20194` (`createTime`) USING BTREE,
|
||||
KEY `IDX_cbf48031efee5d0de262965e53` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_role_department
|
||||
@ -295,7 +377,7 @@ INSERT INTO `base_sys_role_department` VALUES (5, '2021-02-26 12:01:11.823342',
|
||||
INSERT INTO `base_sys_role_department` VALUES (6, '2021-02-26 12:01:11.922873', '2021-02-26 12:01:11.922873', 9, 9);
|
||||
INSERT INTO `base_sys_role_department` VALUES (23, '2021-02-26 14:32:40.354669', '2021-02-26 14:32:40.354669', 12, 11);
|
||||
INSERT INTO `base_sys_role_department` VALUES (25, '2021-02-26 14:32:59.726608', '2021-02-26 14:32:59.726608', 10, 1);
|
||||
INSERT INTO `base_sys_role_department` VALUES (27, '2021-02-26 14:33:54.579947', '2021-02-26 14:33:54.579947', 13, 12);
|
||||
INSERT INTO `base_sys_role_department` VALUES (28, '2023-02-20 11:01:23.152883', '2023-02-20 11:01:23.152883', 13, 12);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -303,15 +385,15 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_role_menu`;
|
||||
CREATE TABLE `base_sys_role_menu` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`roleId` bigint(20) NOT NULL COMMENT '角色ID',
|
||||
`menuId` bigint(20) NOT NULL COMMENT '菜单ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_3641f81d4201c524a57ce2aa54` (`createTime`),
|
||||
KEY `IDX_f860298298b26e7a697be36e5b` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=517 DEFAULT CHARSET=utf8mb4;
|
||||
`roleId` bigint NOT NULL COMMENT '角色ID',
|
||||
`menuId` bigint NOT NULL COMMENT '菜单ID',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_3641f81d4201c524a57ce2aa54` (`createTime`) USING BTREE,
|
||||
KEY `IDX_f860298298b26e7a697be36e5b` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=571 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_role_menu
|
||||
@ -543,60 +625,60 @@ INSERT INTO `base_sys_role_menu` VALUES (405, '2021-02-26 14:32:59.319494', '202
|
||||
INSERT INTO `base_sys_role_menu` VALUES (406, '2021-02-26 14:32:59.413370', '2021-02-26 14:32:59.413370', 10, 84);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (407, '2021-02-26 14:32:59.507584', '2021-02-26 14:32:59.507584', 10, 90);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (408, '2021-02-26 14:32:59.604332', '2021-02-26 14:32:59.604332', 10, 85);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (463, '2021-02-26 14:33:49.310315', '2021-02-26 14:33:49.310315', 13, 1);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (464, '2021-02-26 14:33:49.403445', '2021-02-26 14:33:49.403445', 13, 96);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (465, '2021-02-26 14:33:49.496802', '2021-02-26 14:33:49.496802', 13, 45);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (466, '2021-02-26 14:33:49.595210', '2021-02-26 14:33:49.595210', 13, 43);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (467, '2021-02-26 14:33:49.688024', '2021-02-26 14:33:49.688024', 13, 49);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (468, '2021-02-26 14:33:49.781292', '2021-02-26 14:33:49.781292', 13, 86);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (469, '2021-02-26 14:33:49.874061', '2021-02-26 14:33:49.874061', 13, 2);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (470, '2021-02-26 14:33:49.965534', '2021-02-26 14:33:49.965534', 13, 27);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (471, '2021-02-26 14:33:50.072373', '2021-02-26 14:33:50.072373', 13, 97);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (472, '2021-02-26 14:33:50.176473', '2021-02-26 14:33:50.176473', 13, 59);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (473, '2021-02-26 14:33:50.272264', '2021-02-26 14:33:50.272264', 13, 60);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (474, '2021-02-26 14:33:50.370328', '2021-02-26 14:33:50.370328', 13, 61);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (475, '2021-02-26 14:33:50.463159', '2021-02-26 14:33:50.463159', 13, 62);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (476, '2021-02-26 14:33:50.557911', '2021-02-26 14:33:50.557911', 13, 63);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (477, '2021-02-26 14:33:50.650669', '2021-02-26 14:33:50.650669', 13, 65);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (478, '2021-02-26 14:33:50.742871', '2021-02-26 14:33:50.742871', 13, 98);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (479, '2021-02-26 14:33:50.838052', '2021-02-26 14:33:50.838052', 13, 99);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (480, '2021-02-26 14:33:50.932201', '2021-02-26 14:33:50.932201', 13, 100);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (481, '2021-02-26 14:33:51.030973', '2021-02-26 14:33:51.030973', 13, 101);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (482, '2021-02-26 14:33:51.168873', '2021-02-26 14:33:51.168873', 13, 8);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (483, '2021-02-26 14:33:51.265779', '2021-02-26 14:33:51.265779', 13, 10);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (484, '2021-02-26 14:33:51.379934', '2021-02-26 14:33:51.379934', 13, 11);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (485, '2021-02-26 14:33:51.473016', '2021-02-26 14:33:51.473016', 13, 12);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (486, '2021-02-26 14:33:51.568753', '2021-02-26 14:33:51.568753', 13, 13);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (487, '2021-02-26 14:33:51.667262', '2021-02-26 14:33:51.667262', 13, 22);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (488, '2021-02-26 14:33:51.761865', '2021-02-26 14:33:51.761865', 13, 23);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (489, '2021-02-26 14:33:51.857295', '2021-02-26 14:33:51.857295', 13, 24);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (490, '2021-02-26 14:33:51.951231', '2021-02-26 14:33:51.951231', 13, 25);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (491, '2021-02-26 14:33:52.047431', '2021-02-26 14:33:52.047431', 13, 26);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (492, '2021-02-26 14:33:52.141210', '2021-02-26 14:33:52.141210', 13, 69);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (493, '2021-02-26 14:33:52.236892', '2021-02-26 14:33:52.236892', 13, 70);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (494, '2021-02-26 14:33:52.332986', '2021-02-26 14:33:52.332986', 13, 71);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (495, '2021-02-26 14:33:52.432629', '2021-02-26 14:33:52.432629', 13, 72);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (496, '2021-02-26 14:33:52.529105', '2021-02-26 14:33:52.529105', 13, 73);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (497, '2021-02-26 14:33:52.625291', '2021-02-26 14:33:52.625291', 13, 74);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (498, '2021-02-26 14:33:52.721109', '2021-02-26 14:33:52.721109', 13, 75);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (499, '2021-02-26 14:33:52.813753', '2021-02-26 14:33:52.813753', 13, 76);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (500, '2021-02-26 14:33:52.905436', '2021-02-26 14:33:52.905436', 13, 77);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (501, '2021-02-26 14:33:52.998499', '2021-02-26 14:33:52.998499', 13, 78);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (502, '2021-02-26 14:33:53.100975', '2021-02-26 14:33:53.100975', 13, 79);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (503, '2021-02-26 14:33:53.199493', '2021-02-26 14:33:53.199493', 13, 80);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (504, '2021-02-26 14:33:53.294088', '2021-02-26 14:33:53.294088', 13, 81);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (505, '2021-02-26 14:33:53.391390', '2021-02-26 14:33:53.391390', 13, 82);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (506, '2021-02-26 14:33:53.486104', '2021-02-26 14:33:53.486104', 13, 83);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (507, '2021-02-26 14:33:53.578385', '2021-02-26 14:33:53.578385', 13, 105);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (508, '2021-02-26 14:33:53.670073', '2021-02-26 14:33:53.670073', 13, 102);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (509, '2021-02-26 14:33:53.763868', '2021-02-26 14:33:53.763868', 13, 103);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (510, '2021-02-26 14:33:53.860706', '2021-02-26 14:33:53.860706', 13, 29);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (511, '2021-02-26 14:33:53.959262', '2021-02-26 14:33:53.959262', 13, 30);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (512, '2021-02-26 14:33:54.064932', '2021-02-26 14:33:54.064932', 13, 47);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (513, '2021-02-26 14:33:54.168918', '2021-02-26 14:33:54.168918', 13, 48);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (514, '2021-02-26 14:33:54.273982', '2021-02-26 14:33:54.273982', 13, 84);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (515, '2021-02-26 14:33:54.366992', '2021-02-26 14:33:54.366992', 13, 90);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (516, '2021-02-26 14:33:54.458682', '2021-02-26 14:33:54.458682', 13, 85);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (517, '2023-02-20 11:01:17.272678', '2023-02-20 11:01:17.272678', 13, 1);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (518, '2023-02-20 11:01:17.384384', '2023-02-20 11:01:17.384384', 13, 96);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (519, '2023-02-20 11:01:17.509665', '2023-02-20 11:01:17.509665', 13, 45);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (520, '2023-02-20 11:01:17.613195', '2023-02-20 11:01:17.613195', 13, 43);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (521, '2023-02-20 11:01:17.717865', '2023-02-20 11:01:17.717865', 13, 49);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (522, '2023-02-20 11:01:17.821450', '2023-02-20 11:01:17.821450', 13, 86);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (523, '2023-02-20 11:01:17.928597', '2023-02-20 11:01:17.928597', 13, 2);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (524, '2023-02-20 11:01:18.042256', '2023-02-20 11:01:18.042256', 13, 27);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (525, '2023-02-20 11:01:18.152961', '2023-02-20 11:01:18.152961', 13, 97);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (526, '2023-02-20 11:01:18.264862', '2023-02-20 11:01:18.264862', 13, 59);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (527, '2023-02-20 11:01:18.375556', '2023-02-20 11:01:18.375556', 13, 60);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (528, '2023-02-20 11:01:18.486312', '2023-02-20 11:01:18.486312', 13, 61);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (529, '2023-02-20 11:01:18.604764', '2023-02-20 11:01:18.604764', 13, 62);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (530, '2023-02-20 11:01:18.708506', '2023-02-20 11:01:18.708506', 13, 63);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (531, '2023-02-20 11:01:18.810557', '2023-02-20 11:01:18.810557', 13, 65);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (532, '2023-02-20 11:01:18.912572', '2023-02-20 11:01:18.912572', 13, 98);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (533, '2023-02-20 11:01:19.012174', '2023-02-20 11:01:19.012174', 13, 99);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (534, '2023-02-20 11:01:19.111748', '2023-02-20 11:01:19.111748', 13, 100);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (535, '2023-02-20 11:01:19.210923', '2023-02-20 11:01:19.210923', 13, 101);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (536, '2023-02-20 11:01:19.314189', '2023-02-20 11:01:19.314189', 13, 8);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (537, '2023-02-20 11:01:19.428883', '2023-02-20 11:01:19.428883', 13, 10);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (538, '2023-02-20 11:01:19.552934', '2023-02-20 11:01:19.552934', 13, 11);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (539, '2023-02-20 11:01:19.663284', '2023-02-20 11:01:19.663284', 13, 12);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (540, '2023-02-20 11:01:19.771651', '2023-02-20 11:01:19.771651', 13, 13);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (541, '2023-02-20 11:01:19.879238', '2023-02-20 11:01:19.879238', 13, 22);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (542, '2023-02-20 11:01:19.987001', '2023-02-20 11:01:19.987001', 13, 23);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (543, '2023-02-20 11:01:20.095790', '2023-02-20 11:01:20.095790', 13, 24);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (544, '2023-02-20 11:01:20.201315', '2023-02-20 11:01:20.201315', 13, 25);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (545, '2023-02-20 11:01:20.308299', '2023-02-20 11:01:20.308299', 13, 26);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (546, '2023-02-20 11:01:20.414844', '2023-02-20 11:01:20.414844', 13, 69);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (547, '2023-02-20 11:01:20.528804', '2023-02-20 11:01:20.528804', 13, 70);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (548, '2023-02-20 11:01:20.635504', '2023-02-20 11:01:20.635504', 13, 71);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (549, '2023-02-20 11:01:20.749819', '2023-02-20 11:01:20.749819', 13, 72);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (550, '2023-02-20 11:01:20.864884', '2023-02-20 11:01:20.864884', 13, 73);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (551, '2023-02-20 11:01:20.970192', '2023-02-20 11:01:20.970192', 13, 74);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (552, '2023-02-20 11:01:21.074434', '2023-02-20 11:01:21.074434', 13, 75);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (553, '2023-02-20 11:01:21.179895', '2023-02-20 11:01:21.179895', 13, 76);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (554, '2023-02-20 11:01:21.286653', '2023-02-20 11:01:21.286653', 13, 77);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (555, '2023-02-20 11:01:21.389230', '2023-02-20 11:01:21.389230', 13, 78);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (556, '2023-02-20 11:01:21.498122', '2023-02-20 11:01:21.498122', 13, 79);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (557, '2023-02-20 11:01:21.608182', '2023-02-20 11:01:21.608182', 13, 80);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (558, '2023-02-20 11:01:21.716534', '2023-02-20 11:01:21.716534', 13, 81);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (559, '2023-02-20 11:01:21.821921', '2023-02-20 11:01:21.821921', 13, 82);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (560, '2023-02-20 11:01:21.924088', '2023-02-20 11:01:21.924088', 13, 83);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (561, '2023-02-20 11:01:22.027509', '2023-02-20 11:01:22.027509', 13, 105);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (562, '2023-02-20 11:01:22.138587', '2023-02-20 11:01:22.138587', 13, 102);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (563, '2023-02-20 11:01:22.248197', '2023-02-20 11:01:22.248197', 13, 103);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (564, '2023-02-20 11:01:22.348024', '2023-02-20 11:01:22.348024', 13, 29);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (565, '2023-02-20 11:01:22.450315', '2023-02-20 11:01:22.450315', 13, 30);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (566, '2023-02-20 11:01:22.561988', '2023-02-20 11:01:22.561988', 13, 47);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (567, '2023-02-20 11:01:22.672138', '2023-02-20 11:01:22.672138', 13, 48);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (568, '2023-02-20 11:01:22.791173', '2023-02-20 11:01:22.791173', 13, 84);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (569, '2023-02-20 11:01:22.898018', '2023-02-20 11:01:22.898018', 13, 90);
|
||||
INSERT INTO `base_sys_role_menu` VALUES (570, '2023-02-20 11:01:23.008575', '2023-02-20 11:01:23.008575', 13, 85);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -608,35 +690,35 @@ CREATE TABLE `base_sys_user` (
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`departmentId` bigint DEFAULT NULL COMMENT '部门ID',
|
||||
`name` varchar(255) DEFAULT NULL COMMENT '姓名',
|
||||
`username` varchar(100) NOT NULL COMMENT '用户名',
|
||||
`password` varchar(255) NOT NULL COMMENT '密码',
|
||||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '姓名',
|
||||
`username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户名',
|
||||
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码',
|
||||
`passwordV` int NOT NULL DEFAULT '1' COMMENT '密码版本, 作用是改完密码,让原来的token失效',
|
||||
`nickName` varchar(255) DEFAULT NULL COMMENT '昵称',
|
||||
`headImg` varchar(255) DEFAULT NULL COMMENT '头像',
|
||||
`phone` varchar(20) DEFAULT NULL COMMENT '手机',
|
||||
`email` varchar(255) DEFAULT NULL COMMENT '邮箱',
|
||||
`nickName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '昵称',
|
||||
`headImg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '头像',
|
||||
`phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '手机',
|
||||
`email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '邮箱',
|
||||
`status` tinyint NOT NULL DEFAULT '1' COMMENT '状态 0:禁用 1:启用',
|
||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||
`socketId` varchar(255) DEFAULT NULL COMMENT 'socketId',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `IDX_469ad55973f5b98930f6ad627b` (`username`),
|
||||
KEY `IDX_0cf944da378d70a94f5fefd803` (`departmentId`),
|
||||
KEY `IDX_9ec6d7ac6337eafb070e4881a8` (`phone`),
|
||||
KEY `IDX_ca8611d15a63d52aa4e292e46a` (`createTime`),
|
||||
KEY `IDX_a0f2f19cee18445998ece93ddd` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4;
|
||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '备注',
|
||||
`socketId` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'socketId',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE KEY `IDX_469ad55973f5b98930f6ad627b` (`username`) USING BTREE,
|
||||
KEY `IDX_0cf944da378d70a94f5fefd803` (`departmentId`) USING BTREE,
|
||||
KEY `IDX_9ec6d7ac6337eafb070e4881a8` (`phone`) USING BTREE,
|
||||
KEY `IDX_ca8611d15a63d52aa4e292e46a` (`createTime`) USING BTREE,
|
||||
KEY `IDX_a0f2f19cee18445998ece93ddd` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_user
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_user` VALUES (1, '2021-02-24 21:16:41.525157', '2021-02-27 18:21:16.000000', 1, '超级管理员', 'admin', 'e10adc3949ba59abbe56e057f20f883e', 3, '管理员', 'https://cool-admin-pro.oss-cn-shanghai.aliyuncs.com/app/c8128c24-d0e9-4e07-9c0d-6f65446e105b.png', '18000000000', 'team@cool-js.com', 1, '拥有最高权限的用户', NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (24, '2021-02-26 14:17:38.000000', '2021-02-26 14:17:38.000000', 11, '小白', 'xiaobai', 'e10adc3949ba59abbe56e057f20f883e', 1, '小白', NULL, NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (25, '2021-02-26 14:28:25.000000', '2021-02-26 14:28:25.000000', 12, '小黑', 'xiaohei', 'e10adc3949ba59abbe56e057f20f883e', 1, '小黑', NULL, NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (26, '2021-02-26 14:28:49.000000', '2021-02-26 14:28:49.000000', 12, '小绿', 'xiaolv', 'e10adc3949ba59abbe56e057f20f883e', 1, '小绿', NULL, NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (27, '2021-02-26 14:29:23.000000', '2021-02-26 14:29:23.000000', 13, '小青', 'xiaoqin', 'e10adc3949ba59abbe56e057f20f883e', 1, '小青', NULL, NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (28, '2021-02-26 14:29:52.000000', '2021-02-26 14:29:52.000000', 11, '神仙都没用', 'icssoa', 'e10adc3949ba59abbe56e057f20f883e', 1, '神仙都没用', 'https://cool-admin.cn.utools.club/uploads//20210226/0eeab9a0-77fc-11eb-b64f-674cd46b6601.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (1, '2021-02-24 21:16:41.525157', '2023-03-08 15:11:51.000000', 1, '超级管理员', 'admin', 'e10adc3949ba59abbe56e057f20f883e', 7, '管理员', 'https://show.cool-admin.com/api/public/uploads/20230308/c731b0cba84046268b10edbbcf36f948_315c243a448e1369fa145c5ea3f020da.gif', '18000000000', 'team@cool-js.com', 1, '拥有最高权限的用户', NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (24, '2021-02-26 14:17:38.000000', '2023-03-06 20:18:58.000000', 1, '小白', 'xiaobai', 'e10adc3949ba59abbe56e057f20f883e', 1, '小白', 'https://show.cool-admin.com/api/public/uploads/20230306/2e8a293ebfd8495083af93da141b045e_f85bccf6f4cf4890aea4e963e658fb94_1675933340_tplv-dy-cropcenter_323_430.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (25, '2021-02-26 14:28:25.000000', '2023-03-06 20:18:53.000000', 1, '小黑', 'xiaohei', 'e10adc3949ba59abbe56e057f20f883e', 1, '小黑', 'https://show.cool-admin.com/api/public/uploads/20230306/0bd3095dd14c4ef89cf1e04c66b62900_e7b3653e07224702a1e8f246453d7d72_tplv-dy-cropcenter_323_430.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (26, '2021-02-26 14:28:49.000000', '2023-03-06 20:18:48.000000', 1, '小绿', 'xiaolv', 'e10adc3949ba59abbe56e057f20f883e', 1, '小绿', 'https://show.cool-admin.com/api/public/uploads/20230306/84bff75c07e44eff9beef880fd91e9cb_467d1550bcfc46968deb294b756ff52e_1674986122_tplv-dy-cropcenter_323_430.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (27, '2021-02-26 14:29:23.000000', '2023-03-07 13:15:00.000000', 1, '小青', 'xiaoqin', 'e10adc3949ba59abbe56e057f20f883e', 1, '小青', 'https://show.cool-admin.com/api/public/uploads/20230306/fb49e291d4a44c659367f17751699e04_2c0f4758d8484271be34081c8fe49adc_1675679254_tplv-dy-cropcenter_323_430.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `base_sys_user` VALUES (28, '2021-02-26 14:29:52.000000', '2023-03-06 19:57:46.000000', 1, '神仙都没用', 'icssoa', 'e10adc3949ba59abbe56e057f20f883e', 1, '神仙都没用', 'https://show.cool-admin.com/api/public/uploads/20230306/26942e8aa783427f8ad73c1a10fcac6f_eb26da2fc07940b1bb63f1510933eb01_1676971271_tplv-dy-cropcenter_323_430.jpg', NULL, NULL, 1, NULL, NULL);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
@ -644,15 +726,15 @@ COMMIT;
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `base_sys_user_role`;
|
||||
CREATE TABLE `base_sys_user_role` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`userId` bigint(20) NOT NULL COMMENT '用户ID',
|
||||
`roleId` bigint(20) NOT NULL COMMENT '角色ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_fa9555e03e42fce748c9046b1c` (`createTime`),
|
||||
KEY `IDX_3e36c0d2b1a4c659c6b4fc64b3` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4;
|
||||
`userId` bigint NOT NULL COMMENT '用户ID',
|
||||
`roleId` bigint NOT NULL COMMENT '角色ID',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `IDX_fa9555e03e42fce748c9046b1c` (`createTime`) USING BTREE,
|
||||
KEY `IDX_3e36c0d2b1a4c659c6b4fc64b3` (`updateTime`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of base_sys_user_role
|
||||
@ -681,13 +763,15 @@ INSERT INTO `base_sys_user_role` VALUES (24, '2021-02-25 17:58:35.452363', '2021
|
||||
INSERT INTO `base_sys_user_role` VALUES (27, '2021-02-25 21:25:55.005236', '2021-02-25 21:25:55.005236', 19, 1);
|
||||
INSERT INTO `base_sys_user_role` VALUES (28, '2021-02-26 13:50:05.633242', '2021-02-26 13:50:05.633242', 21, 8);
|
||||
INSERT INTO `base_sys_user_role` VALUES (29, '2021-02-26 13:50:17.836990', '2021-02-26 13:50:17.836990', 23, 8);
|
||||
INSERT INTO `base_sys_user_role` VALUES (38, '2021-02-26 14:36:08.899046', '2021-02-26 14:36:08.899046', 26, 13);
|
||||
INSERT INTO `base_sys_user_role` VALUES (39, '2021-02-26 14:36:13.149510', '2021-02-26 14:36:13.149510', 25, 13);
|
||||
INSERT INTO `base_sys_user_role` VALUES (40, '2021-02-26 14:36:20.737073', '2021-02-26 14:36:20.737073', 27, 11);
|
||||
INSERT INTO `base_sys_user_role` VALUES (42, '2021-02-26 14:36:53.481478', '2021-02-26 14:36:53.481478', 24, 12);
|
||||
INSERT INTO `base_sys_user_role` VALUES (43, '2021-02-26 14:36:58.477817', '2021-02-26 14:36:58.477817', 28, 12);
|
||||
INSERT INTO `base_sys_user_role` VALUES (44, '2021-02-26 14:36:58.577114', '2021-02-26 14:36:58.577114', 28, 10);
|
||||
INSERT INTO `base_sys_user_role` VALUES (45, '2023-02-16 19:11:10.029945', '2023-02-16 19:11:10.029945', 29, 10);
|
||||
INSERT INTO `base_sys_user_role` VALUES (46, '2023-03-06 19:57:46.215729', '2023-03-06 19:57:46.215729', 28, 12);
|
||||
INSERT INTO `base_sys_user_role` VALUES (47, '2023-03-06 19:57:46.228651', '2023-03-06 19:57:46.228651', 28, 10);
|
||||
INSERT INTO `base_sys_user_role` VALUES (49, '2023-03-06 20:18:48.992031', '2023-03-06 20:18:48.992031', 26, 13);
|
||||
INSERT INTO `base_sys_user_role` VALUES (50, '2023-03-06 20:18:53.818567', '2023-03-06 20:18:53.818567', 25, 13);
|
||||
INSERT INTO `base_sys_user_role` VALUES (51, '2023-03-06 20:18:58.691102', '2023-03-06 20:18:58.691102', 24, 12);
|
||||
INSERT INTO `base_sys_user_role` VALUES (52, '2023-03-06 20:28:45.169085', '2023-03-06 20:28:45.169085', 30, 11);
|
||||
INSERT INTO `base_sys_user_role` VALUES (53, '2023-03-07 11:39:57.672383', '2023-03-07 11:39:57.672383', 31, 10);
|
||||
INSERT INTO `base_sys_user_role` VALUES (54, '2023-03-07 13:15:00.326613', '2023-03-07 13:15:00.326613', 27, 11);
|
||||
COMMIT;
|
||||
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
@ -11,8 +11,12 @@ export class AppEvent {
|
||||
@App()
|
||||
app: IMidwayApplication;
|
||||
|
||||
@Event('onServerReady')
|
||||
async onServerReady() {
|
||||
@Event('onDBInit')
|
||||
async onDBInit() {
|
||||
this.initEntity();
|
||||
}
|
||||
|
||||
async initEntity() {
|
||||
const cloudDBService = await this.app
|
||||
.getApplicationContext()
|
||||
.getAsync(CloudDBService);
|
||||
|
17
src/modules/cloud/init.sql
Normal file
17
src/modules/cloud/init.sql
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of cloud_db
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `cloud_db` VALUES (13, '2023-02-16 19:25:21.995000', '2023-02-23 12:00:43.621000', '用户', NULL, 'import { BaseEntity } from \'@cool-midway/core\';\nimport { Column, Entity } from \'typeorm\';\n\n/**\n * 描述\n */\n@Entity(\'user\')\nexport class UserEntity extends BaseEntity {\n @Column({ comment: \'姓名\' })\n name: string;\n @Column({ comment: \'年龄\' })\n age: string;\n}', 'UserEntity', 'func_user', 1);
|
||||
COMMIT;
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of cloud_func_info
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `cloud_func_info` VALUES (1, '2023-02-15 15:29:00.010000', '2023-03-07 04:14:27.212000', '测试', 'ddd', 'import { CloudCrud } from \'@cool-midway/cloud\';\n\n/**\n * 描述\n */\nexport class User extends CloudCrud {\n async main() {\n this.setCurdOption({\n entity: \'TestUserEntity\',\n api: [\"add\", \"page\"]\n });\n }\n}', 1);
|
||||
INSERT INTO `cloud_func_info` VALUES (2, '2023-02-16 01:21:20.485000', '2023-03-07 04:14:26.372000', '用户1', NULL, 'import { CloudCrud } from \'@cool-midway/cloud\';\n\n/**\n * 描述\n */\nexport class Xxx extends CloudCrud {\n async main() {\n this.setCurdOption({\n entity: \'UserEntity\',\n api: [\'add\', \'delete\', \'update\', \'info\', \'list\', \'page\']\n });\n }\n}\n', 0);
|
||||
COMMIT;
|
||||
|
@ -1,69 +1,24 @@
|
||||
BEGIN;
|
||||
INSERT INTO `base_sys_menu` VALUES (197, '2022-07-05 16:05:27.403000', '2022-07-05 16:15:16.025000', NULL, '字典管理', NULL, NULL, 0, 'icon-log', 3, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (198, '2022-07-05 16:08:50.307000', '2022-07-05 16:14:13.196000', 197, '字典列表', '/dict/list', NULL, 1, 'icon-menu', 1, 'modules/dict/views/list.vue', 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (199, '2022-07-05 16:08:50.748162', '2022-07-05 16:08:50.748162', 198, '删除', NULL, 'dict:info:delete', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (200, '2022-07-05 16:08:50.800623', '2022-07-05 16:08:50.800623', 198, '修改', NULL, 'dict:info:update,dict:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (201, '2022-07-05 16:08:50.859141', '2022-07-05 16:08:50.859141', 198, '获得字典数据', NULL, 'dict:info:data', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (202, '2022-07-05 16:08:50.916874', '2022-07-05 16:08:50.916874', 198, '单个信息', NULL, 'dict:info:info', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (203, '2022-07-05 16:08:50.972783', '2022-07-05 16:08:50.972783', 198, '列表查询', NULL, 'dict:info:list', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (204, '2022-07-05 16:08:51.030928', '2022-07-05 16:08:51.030928', 198, '分页查询', NULL, 'dict:info:page', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (205, '2022-07-05 16:08:51.087883', '2022-07-05 16:08:51.087883', 198, '新增', NULL, 'dict:info:add', 2, NULL, 0, NULL, 1, 1);
|
||||
INSERT INTO `base_sys_menu` VALUES (206, '2022-07-06 10:41:26.503000', '2022-07-06 10:41:37.000000', 198, '组权限', NULL, 'dict:type:list,dict:type:update,dict:type:delete,dict:type:add', 2, NULL, 0, NULL, 1, 1);
|
||||
COMMIT;
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for dict_info
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `dict_info`;
|
||||
CREATE TABLE `dict_info` (
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`typeId` int NOT NULL COMMENT '类型ID',
|
||||
`name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '名称',
|
||||
`orderNum` int NOT NULL DEFAULT '0' COMMENT '排序',
|
||||
`remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
|
||||
`parentId` int COMMENT '父ID',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_5c311a4af30de1181a5d7a7cc2` (`createTime`),
|
||||
KEY `IDX_10362a62adbf120821fff209d8` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of dict_info
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `dict_info` VALUES (1, '2022-07-06 14:18:53.841000', '2022-07-06 14:19:10.954000', 1, '衣服', 2, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (2, '2022-07-06 14:18:59.834000', '2022-07-06 14:18:59.834000', 1, '裤子', 1, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (3, '2022-07-06 14:19:03.993000', '2022-07-06 14:19:15.251000', 1, '鞋子', 3, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (4, '2022-07-06 14:21:47.122000', '2022-07-06 14:22:26.131000', 2, '闪酷', 2, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (5, '2022-07-06 14:22:18.309000', '2022-07-06 14:22:18.309000', 2, 'COOL', 1, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (21, '2023-03-06 11:40:51.312000', '2023-03-06 11:40:51.312000', 19, 'COOL', 1, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (22, '2023-03-06 11:40:59.000000', '2023-03-06 11:42:00.000000', 19, '闪酷', 2, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (23, '2023-03-06 11:41:20.581000', '2023-03-06 11:41:20.581000', 20, '法师', 1, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (24, '2023-03-06 11:41:25.740000', '2023-03-06 11:41:45.818000', 20, '战士', 2, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (25, '2023-03-06 11:41:31.297000', '2023-03-06 11:41:48.661000', 20, '坦克', 3, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (26, '2023-03-06 11:41:35.987000', '2023-03-06 11:41:51.078000', 20, '刺客', 4, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (27, '2023-03-06 11:41:41.430000', '2023-03-06 11:41:54.159000', 20, '射手', 5, NULL, NULL);
|
||||
INSERT INTO `dict_info` VALUES (28, '2023-03-06 16:38:18.986000', '2023-03-06 16:38:18.986000', 20, '123', 1, '123', 27);
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for dict_type
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `dict_type`;
|
||||
CREATE TABLE `dict_type` (
|
||||
`id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`createTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
|
||||
`updateTime` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
|
||||
`name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '名称',
|
||||
`key` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '标识',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `IDX_69734e5c2d29cc2139d5078f2c` (`createTime`),
|
||||
KEY `IDX_6cccb2e33846cd354e8dc0e0ef` (`updateTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of dict_type
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `dict_type` VALUES (1, '2022-07-06 14:18:41.879000', '2022-07-06 14:18:41.879000', '类别', 'type');
|
||||
INSERT INTO `dict_type` VALUES (2, '2022-07-06 14:21:33.778000', '2022-07-06 14:21:33.778000', '品牌', 'brand');
|
||||
INSERT INTO `dict_type` VALUES (19, '2023-03-06 11:40:45.295000', '2023-03-06 11:40:45.295000', '品牌', 'brand');
|
||||
INSERT INTO `dict_type` VALUES (20, '2023-03-06 11:41:13.227000', '2023-03-06 11:41:13.227000', '职业', 'occupation');
|
||||
COMMIT;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
49
src/modules/space/init.sql
Normal file
49
src/modules/space/init.sql
Normal file
@ -0,0 +1,49 @@
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of space_info
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `space_info` VALUES (1, '2023-02-13 21:34:09.746000', '2023-02-13 21:34:09.746000', 'http://127.0.0.1:8001/public/uploads/20230213/cc2c0b77-be51-4816-800f-ca48c61a08d6_1.pdf', 'file', NULL, '', '', 0, 1, '');
|
||||
INSERT INTO `space_info` VALUES (2, '2023-02-14 19:35:32.492000', '2023-02-14 19:35:32.492000', 'http://127.0.0.1:8001/public/uploads/20230214/新建 PPTX 演示文稿.pptx', 'Presentation', NULL, '1676374532437', '新建 PPTX 演示文稿.pptx', 28708, 1, '');
|
||||
INSERT INTO `space_info` VALUES (3, '2023-02-14 19:38:50.277000', '2023-02-14 19:38:50.277000', 'http://127.0.0.1:8001/public/uploads/20230214/1666245309333.jpg', 'image', NULL, '1676374730220', 'blob:http://localhost:9000/a17db32d-9b87-444f-aafb-7c77e788ddcd', 173693, 1, '');
|
||||
INSERT INTO `space_info` VALUES (4, '2023-02-14 19:38:53.023000', '2023-02-14 19:38:53.023000', 'http://127.0.0.1:8001/public/uploads/20230214/1666245279343.jpg', 'image', NULL, '1676374732986', 'blob:http://localhost:9000/d447b62e-9ba1-4e22-8419-2024488c67e1', 237832, 1, '');
|
||||
INSERT INTO `space_info` VALUES (5, '2023-02-14 19:38:56.646000', '2023-02-14 19:38:56.646000', 'http://127.0.0.1:8001/public/uploads/20230214/logo.zip', 'file', NULL, '1676374736602', 'logo.zip', 5560, 1, '');
|
||||
INSERT INTO `space_info` VALUES (6, '2023-02-14 19:39:14.344000', '2023-02-14 19:39:14.344000', 'http://127.0.0.1:8001/public/uploads/20230214/2.png', 'image', NULL, '1676374754220', 'blob:http://localhost:9000/7a9cd28c-16d7-4b31-8d6d-970a83912ab1', 86861, 1, '');
|
||||
INSERT INTO `space_info` VALUES (11, '2023-02-15 11:04:55.404000', '2023-02-15 11:04:55.404000', 'http://127.0.0.1:8001/public/uploads/20230215/8f8f4d6a847f0491e613e586f51c57b1.mp4', 'video', NULL, '1676430295322', '8f8f4d6a847f0491e613e586f51c57b1.mp4', 2264263, 1, '');
|
||||
INSERT INTO `space_info` VALUES (12, '2023-02-15 11:05:57.352000', '2023-02-15 11:05:57.352000', 'http://127.0.0.1:8001/public/uploads/20230215/b7ab586ce4122241610be88cade1729e.mp4', 'video', NULL, '1676430357299', 'b7ab586ce4122241610be88cade1729e.mp4', 2200980, 1, '');
|
||||
INSERT INTO `space_info` VALUES (13, '2023-02-15 11:13:11.986000', '2023-02-15 11:13:11.986000', 'http://127.0.0.1:8001/public/uploads/20230215/新建 文本文档.txt', 'file', NULL, '1676430791940', '新建 文本文档.txt', 0, 1, '');
|
||||
INSERT INTO `space_info` VALUES (14, '2023-02-15 13:14:47.097000', '2023-02-15 13:14:47.097000', 'http://127.0.0.1:8001/public/uploads/20230215/logo.jpg', 'image', NULL, '1676438087053', 'blob:http://localhost:9000/2606eb20-9a24-4c46-abd5-cd364dda7b34', 7000, 1, '');
|
||||
INSERT INTO `space_info` VALUES (37, '2023-02-16 21:38:24.004000', '2023-02-16 21:38:24.004000', 'http://127.0.0.1:8001/public/uploads/20230216/1666245279343.jpg', 'image', 1, '1676554703912', 'blob:http://localhost:9000/7b56eef2-2210-4a8e-b292-0f0e96738613', 237832, 1, '');
|
||||
INSERT INTO `space_info` VALUES (38, '2023-02-16 21:38:24.018000', '2023-02-16 21:38:24.018000', 'http://127.0.0.1:8001/public/uploads/20230216/8f8f4d6a847f0491e613e586f51c57b1.mp4', 'video', 1, '1676554703910', '8f8f4d6a847f0491e613e586f51c57b1.mp4', 2264263, 1, '');
|
||||
INSERT INTO `space_info` VALUES (39, '2023-02-16 21:38:24.037000', '2023-02-16 21:38:24.037000', 'http://127.0.0.1:8001/public/uploads/20230216/1666245309333.jpg', 'image', 1, '1676554703914', 'blob:http://localhost:9000/863f070d-df1c-4b73-8e1c-cb0344ef7a47', 173693, 1, '');
|
||||
INSERT INTO `space_info` VALUES (40, '2023-02-16 21:38:24.054000', '2023-02-16 21:38:24.054000', 'http://127.0.0.1:8001/public/uploads/20230216/logo.jpg', 'image', 1, '1676554703917', 'blob:http://localhost:9000/66b0c6d4-9525-44a2-b48d-33456bcbdce1', 7000, 1, '');
|
||||
INSERT INTO `space_info` VALUES (41, '2023-02-16 21:38:24.058000', '2023-02-16 21:38:24.058000', 'http://127.0.0.1:8001/public/uploads/20230216/b7ab586ce4122241610be88cade1729e.mp4', 'video', 1, '1676554703916', 'b7ab586ce4122241610be88cade1729e.mp4', 2200980, 1, '');
|
||||
INSERT INTO `space_info` VALUES (42, '2023-02-16 21:40:47.400000', '2023-02-16 21:40:47.400000', 'http://127.0.0.1:8001/public/uploads/20230216/logo.jpg', 'image', 1, '1676554847357', 'blob:http://localhost:9000/cae13036-927e-44fb-942b-58f2d5833191', 7000, 1, '');
|
||||
INSERT INTO `space_info` VALUES (43, '2023-02-16 21:40:50.514000', '2023-02-16 21:40:50.514000', 'http://127.0.0.1:8001/public/uploads/20230216/1666245309333.jpg', 'image', 1, '1676554850474', 'blob:http://localhost:9000/0f2e7c13-d23c-4a59-a84b-b7318ac43df1', 173693, 1, '');
|
||||
INSERT INTO `space_info` VALUES (45, '2023-02-16 21:43:06.102000', '2023-02-16 21:43:06.102000', 'http://127.0.0.1:8001/public/uploads/20230216/logo.zip', 'file', 1, '1676554986059', 'logo.zip', 5560, 1, '');
|
||||
INSERT INTO `space_info` VALUES (46, '2023-02-16 21:45:54.201000', '2023-02-16 21:45:54.201000', 'http://127.0.0.1:8001/public/uploads/20230216/新建 PPTX 演示文稿.pptx', 'Presentation', 1, '1676555154159', '新建 PPTX 演示文稿.pptx', 28708, 1, '');
|
||||
INSERT INTO `space_info` VALUES (47, '2023-02-16 21:48:02.552000', '2023-02-16 21:48:02.552000', 'http://127.0.0.1:8001/public/uploads/20230216/8f8f4d6a847f0491e613e586f51c57b1.mp4', 'video', 1, '1676555282502', '8f8f4d6a847f0491e613e586f51c57b1.mp4', 2264263, 1, '');
|
||||
INSERT INTO `space_info` VALUES (48, '2023-02-17 19:43:48.707000', '2023-02-17 19:43:48.707000', 'http://127.0.0.1:8001/public/uploads/20230217/logo.png', 'image', 1, '1676634229583', 'blob:http://localhost:9000/a1c8d351-ff36-47b2-b477-fbb5de61e163', 8093, 1, '');
|
||||
INSERT INTO `space_info` VALUES (49, '2023-02-17 19:45:05.837000', '2023-02-17 19:45:05.837000', 'http://127.0.0.1:8001/public/uploads/20230217/logo.png', 'image', 1, '1676634305795', 'blob:http://localhost:9000/36659fd0-7bff-4a8a-b064-3f9ba6530191', 8093, 1, '');
|
||||
INSERT INTO `space_info` VALUES (50, '2023-02-17 19:46:36.423000', '2023-02-17 19:46:36.423000', 'http://127.0.0.1:8001/public/uploads/20230217/c8128c24-d0e9-4e07-9c0d-6f65446e105b.png', 'image', 1, '1676634396368', 'blob:http://localhost:9000/ac931705-c383-47b0-8542-e12f2eba1a55', 3313, 1, '');
|
||||
INSERT INTO `space_info` VALUES (51, '2023-02-19 23:41:21.326000', '2023-02-19 23:41:21.326000', 'http://127.0.0.1:8001/public/uploads/20230219/图层4.png', 'image', 1, '1676821281209', 'blob:http://localhost:9000/d9ddbe89-b206-4766-a4dc-7df1032bfe39', 357586, 1, '');
|
||||
INSERT INTO `space_info` VALUES (52, '2023-02-19 23:41:53.150000', '2023-02-19 23:41:53.150000', 'http://127.0.0.1:8001/public/uploads/20230219/1669607797795096.mp4', 'video', 1, '1676821312901', '1669607797795096.mp4', 15929928, 1, '');
|
||||
INSERT INTO `space_info` VALUES (86, '2023-03-06 20:23:22.467000', '2023-03-08 15:10:05.822205', 'https://show.cool-admin.com/api/public/uploads/20230306/e023a2e79ba643e486310e0e56adbb8b_1666245279343.jpg', 'image', 10, 'e023a2e79ba643e486310e0e56adbb8b', 'blob:https://show.cool-admin.com/ec7b723d-e228-4b22-840d-da0da388aa09', 237832, 1, '/public/uploads/20230306/e023a2e79ba643e486310e0e56adbb8b_1666245279343.jpg');
|
||||
INSERT INTO `space_info` VALUES (87, '2023-03-06 20:23:22.501000', '2023-03-08 15:10:09.746789', 'https://show.cool-admin.com/api/public/uploads/20230306/7700e5c10b74484097eb6ba80882da4d_1666245309333.jpg', 'image', 10, '7700e5c10b74484097eb6ba80882da4d', 'blob:https://show.cool-admin.com/1588f52f-a3a8-44ed-9387-a9f7e3cacf6d', 173693, 1, '/public/uploads/20230306/7700e5c10b74484097eb6ba80882da4d_1666245309333.jpg');
|
||||
INSERT INTO `space_info` VALUES (99, '2023-03-08 14:11:15.452000', '2023-03-08 15:10:12.252268', 'https://show.cool-admin.com/api/public/uploads/20230308/c731b0cba84046268b10edbbcf36f948_315c243a448e1369fa145c5ea3f020da.gif', 'image', 9, 'c731b0cba84046268b10edbbcf36f948', 'blob:https://show.cool-admin.com/ed25dee3-cbc5-4dcc-919c-7a3fb0b1af99', 331788, 1, '/public/uploads/20230308/c731b0cba84046268b10edbbcf36f948_315c243a448e1369fa145c5ea3f020da.gif');
|
||||
INSERT INTO `space_info` VALUES (100, '2023-03-08 14:14:50.849000', '2023-03-08 14:21:46.000000', 'https://show.cool-admin.com/api/public/uploads/20230308/f182d2aa3bed4bff85c815dedc9155b1_演示ppt.pptx', 'Presentation', 14, 'f182d2aa3bed4bff85c815dedc9155b1', '演示ppt.pptx', 38865, 3, '/public/uploads/20230308/f182d2aa3bed4bff85c815dedc9155b1_演示ppt.pptx');
|
||||
INSERT INTO `space_info` VALUES (101, '2023-03-08 14:14:50.871000', '2023-03-08 15:10:17.702950', 'https://show.cool-admin.com/api/public/uploads/20230308/02b08312cb654650853c078289873c84_演示表格.xlsx', 'Spreadsheet', 14, '02b08312cb654650853c078289873c84', '演示表格.xlsx', 8686, 1, '/public/uploads/20230308/02b08312cb654650853c078289873c84_演示表格.xlsx');
|
||||
INSERT INTO `space_info` VALUES (102, '2023-03-08 14:14:50.900000', '2023-03-08 15:10:21.792369', 'https://show.cool-admin.com/api/public/uploads/20230308/fff47e95a8794073af5a1b90aabb5d52_演示word.docx', 'Writer', 14, 'fff47e95a8794073af5a1b90aabb5d52', '演示word.docx', 10064, 1, '/public/uploads/20230308/fff47e95a8794073af5a1b90aabb5d52_演示word.docx');
|
||||
COMMIT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of space_type
|
||||
-- ----------------------------
|
||||
BEGIN;
|
||||
INSERT INTO `space_type` VALUES (9, '2023-02-20 10:55:27.239000', '2023-02-20 10:55:43.302000', '微信头像', NULL);
|
||||
INSERT INTO `space_type` VALUES (10, '2023-02-20 10:55:51.028000', '2023-02-20 10:55:51.028000', '朋友圈素材', NULL);
|
||||
INSERT INTO `space_type` VALUES (11, '2023-02-20 10:56:23.866000', '2023-02-20 10:56:23.866000', '抖音视频', NULL);
|
||||
INSERT INTO `space_type` VALUES (14, '2023-03-06 20:22:20.288000', '2023-03-06 20:22:20.288000', '文档', NULL);
|
||||
COMMIT;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
@ -1,19 +0,0 @@
|
||||
import { ModuleConfig } from '@cool-midway/core';
|
||||
|
||||
/**
|
||||
* 模块配置
|
||||
*/
|
||||
export default () => {
|
||||
return {
|
||||
// 模块名称
|
||||
name: '用户模块',
|
||||
// 模块描述
|
||||
description: '小程序、app等客户端用户,与后台用户区别开',
|
||||
// 中间件,只对本模块有效
|
||||
middlewares: [],
|
||||
// 中间件,全局有效
|
||||
globalMiddlewares: [],
|
||||
// 模块加载顺序,默认为0,值越大越优先加载
|
||||
order: 0,
|
||||
} as ModuleConfig;
|
||||
};
|
Loading…
Reference in New Issue
Block a user