mirror of
https://gitee.com/softnetcat/FCat.git
synced 2024-11-29 17:57:51 +08:00
优化后台
This commit is contained in:
parent
bef7266f6a
commit
0782e9aefc
@ -36,9 +36,9 @@ eureka:
|
||||
|
||||
logging:
|
||||
level:
|
||||
tk.mybatis: INFO
|
||||
com.fcat.common.user: INFO
|
||||
c.q: INFO
|
||||
tk.mybatis: debug
|
||||
com.fcat.common.user: debug
|
||||
c.q: debug
|
||||
|
||||
application:
|
||||
keycloakUrl: http://${keycloakHost}/auth
|
||||
|
73
sql/fcat.sql
73
sql/fcat.sql
@ -11,7 +11,7 @@
|
||||
Target Server Version : 50650
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 28/08/2023 19:20:06
|
||||
Date: 28/08/2023 20:03:23
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@ -251,13 +251,36 @@ CREATE TABLE `sys_company` (
|
||||
`update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `name`(`name`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户' ROW_FORMAT = COMPACT;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户' ROW_FORMAT = COMPACT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_company
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_company` VALUES (5, '软件巢工作室', '24646546216465456', 'test_company', '深圳市龙华区优品文化创意园', '', '', '', '', '刘翔飞', '', NULL, 12, NULL, NULL, NULL, NULL, '', NULL, 'STANDARD', '2021-07-08 11:34:37', '2021-07-08 11:34:37');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_file
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `sys_file`;
|
||||
CREATE TABLE `sys_file` (
|
||||
`id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '编号',
|
||||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件名称',
|
||||
`file_ext` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件扩展名',
|
||||
`file_size` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件大小',
|
||||
`file_url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件链接',
|
||||
`folder_id` bigint(64) NULL DEFAULT NULL COMMENT '所属文件夹编号',
|
||||
`user_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户编号',
|
||||
`create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
|
||||
`create_date` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注信息',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `file_folder_id`(`folder_id`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = COMPACT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_file
|
||||
-- ----------------------------
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_organization
|
||||
-- ----------------------------
|
||||
@ -532,6 +555,49 @@ INSERT INTO `sys_role_permission` VALUES (136, 5, 18, NULL, NULL, NULL);
|
||||
INSERT INTO `sys_role_permission` VALUES (137, 5, 19, NULL, NULL, NULL);
|
||||
INSERT INTO `sys_role_permission` VALUES (138, 5, 20, NULL, NULL, NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_user
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `sys_user`;
|
||||
CREATE TABLE `sys_user` (
|
||||
`id` bigint(20) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT COMMENT '主键id',
|
||||
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '姓名',
|
||||
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
|
||||
`id_card` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '身份证号',
|
||||
`sex` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '性别',
|
||||
`cell_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号',
|
||||
`job_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '职称',
|
||||
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
||||
`office_location` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办公低电',
|
||||
`work_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '从事工作类型',
|
||||
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||||
`organization_id` bigint(20) NULL DEFAULT NULL COMMENT '组织架构id',
|
||||
`company_id` bigint(20) NULL DEFAULT NULL COMMENT '公司id',
|
||||
`keycloak_Id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'keycloakid',
|
||||
`office_cell` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办公电话',
|
||||
`msg_notice_flag` tinyint(1) NULL DEFAULT 1 COMMENT '是否接受短信通知: 0-否,1-true',
|
||||
`delete_flag` tinyint(1) NULL DEFAULT 0 COMMENT '删除标识',
|
||||
`is_check_pass` tinyint(1) NULL DEFAULT 0 COMMENT '是否审核通过',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`head_picture` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像',
|
||||
`is_first_login` tinyint(1) NULL DEFAULT 0 COMMENT '是否第一次登录',
|
||||
`is_super_admin` tinyint(1) NULL DEFAULT 0 COMMENT '是否超级管理员',
|
||||
`position` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '工作岗位',
|
||||
`contact_identity` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人身份',
|
||||
`single_user_login` tinyint(1) NULL DEFAULT 1 COMMENT '单用户登录标识',
|
||||
`first_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||
`last_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
UNIQUE INDEX `username`(`username`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = COMPACT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_user
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_user` VALUES (00000000000000000010, 'super', 'super', '', '1', '13025442101', '', 'cissalcliu@163.com', NULL, '', NULL, 3, 5, '750da166-f68e-4f94-8727-3a11774980b1', '13025442101', 0, 0, 1, NULL, NULL, NULL, 0, 0, NULL, NULL, 1, NULL, NULL);
|
||||
INSERT INTO `sys_user` VALUES (00000000000000000025, 'lxf', 'lxf', '110', '1', '0755', '1111', 'lxf@qq.com', NULL, '程序', NULL, 14, 5, 'b0cba684-88a1-48f1-a45d-13d60ae65ca5', '110', 0, 0, 1, NULL, NULL, NULL, 0, 0, NULL, NULL, 0, NULL, NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_user_audit
|
||||
-- ----------------------------
|
||||
@ -553,12 +619,13 @@ CREATE TABLE `sys_user_audit` (
|
||||
`update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
||||
`company_id` bigint(20) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 2708 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户审计' ROW_FORMAT = COMPACT;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 2709 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户审计' ROW_FORMAT = COMPACT;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of sys_user_audit
|
||||
-- ----------------------------
|
||||
INSERT INTO `sys_user_audit` VALUES (2707, '113.110.246.59', '中国广东深圳电信', '/auth/login', '登录', NULL, 'systemLogin', '登录成功', 'lxf', NULL, 'bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJfWjI1bTdiU0RWcVBubVU4YUlIcEo1dHAydUlYUTlSbFAzeVh6RElrT0trIn0.eyJqdGkiOiJhMjk0NDhkOS1hMDRmLTQxN2YtODY2ZS05N2RhNTNlZWY4NWMiLCJleHAiOjE2OTIzNDI1MjMsIm5iZiI6MCwiaWF0IjoxNjkyMjU2MTIzLCJpc3MiOiJodHRwOi8va2V5Y2xvYWs6ODA4MC9hdXRoL3JlYWxtcy9jaGluYSIsImF1ZCI6WyJyZWFsbS1tYW5hZ2VtZW50IiwiYWNjb3VudCJdLCJzdWIiOiJiMGNiYTY4NC04OGExLTQ4Z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uaVsOaNrueci-advyIsIumhueebrui1hOaWmSIsIumhueebrueci-advyIsIuWcsOWbvueci-advyIsIua1i-mHj-S7quWZqCIsIue7hOe7h-aetuaehCIsIue9kee7nOiuvuWkhyIsIuS8oOaEn-WZqCIsIuaKpeitpuefreS_oeaXpeW_lyIsIuaIkOacrOaguOeulyJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiIiLCJuYW1lIjoibHhmIiwicHJlZmVycmVkX3VzZXJuYW1lIjoibHhmIiwiZ2l2ZW5fbmFtZSI6Imx4ZiJ9.MrfxPPFOSPrgGhO1rUbe_qeKQuyTotIxsGaXdNe4mO6QsGdX-QYv34KqIB8sQ6xT6NL5Dd64Z_fA5mBquMUQgMymWC0z953WoCanMwnxCySL9JfPSnHD0jIcYAazALwBvcGB8N26fB3HAOIr2d_aVwfD5AZgjPaV_rTd9x4ytTK47AlJbjj-sK7DsBVP6RGx8OGJh6pVbWx8L0auyihwuKdgavl3aYBTr4iSzMJ076KBFeh6ICXeU4gf0YfxcoULM0Zfk-Z8Wm2rM9XJ_B4_JV9OVyqLc8Vw67z1jB3VvCdGzIxW1gV21uc43PALXhecMSsNBcXcs6MMbHmxB8mMtA', NULL, '2023-08-17 15:08:46', '2023-08-17 15:08:46', NULL);
|
||||
INSERT INTO `sys_user_audit` VALUES (2708, '172.24.0.3', 'XXXX内网IP内网IP', '/auth/login', '登录', NULL, 'systemLogin', '登录成功', 'lxf', NULL, 'bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJfWjI1bTdiU0RWcVBubVU4YUlIcEo1dHAydUlYUTlSbFAzeVh6RElrT0trIn0.eyJqdGkiOiJkYTI1YzliMy05ODg0LTQzMDItOWVmYS00M2YzNWUxOTY1YjkiLCJleHAiOjE2OTMzMTA1MzQsIm5iZiI6MCwiaW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DmtYvku6rlmagiLCLmnLrmnoTotYTotKgiLCLlt6XnqIvmiqXlkYoiLCLpobnnm67lpIfmoYgiLCLpobnnm67orr7nva5f5p-l55yLIiwi5bel56iL6LWE5paZIiwi5oql6K2m57uf6K6hIiwi5pWw5o2u55yL5p2_Iiwi6aG555uu6LWE5paZIiwi6aG555uu55yL5p2_Iiwi5Zyw5Zu-55yL5p2_Iiwi5rWL6YeP5Luq5ZmoIiwi57uE57uH5p625p6EIiwi572R57uc6K6-5aSHIiwi5Lyg5oSf5ZmoIiwi5oql6K2m55-t5L-h5pel5b-XIiwi5oiQ5pys5qC4566XIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6IiIsIm5hbWUiOiJseGYiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJseGYiLCJnaXZlbl9uYW1lIjoibHhmIn0.bat2Fc-FyUbJQhNsHlsMlU0T50JRCZpMdIYdX0vgarTJOTLqd8M0Y7C3MuQEmJrvTTLIsbqMLby2EahPeBycPY7lbZtKS2D-L3muR5P3zqBTF69nd6RKk6ozuLx1knoAD18Loo3LstSDO9E-drXuNFfv-HSGJrGQum3vzTC8a4qWc_5d-oQ0QJWLk7g9_M_0mWtEm-uEzA8xKySp3MhB0Z0FweysTxHaOYpLsh-9RT__eCblVFa7Sw1FeLyjCtPXQ-aj7l5S3gHbsFPJgRLjRiPYZhkf0iMLiaV03Qlx089UXP5xeN--6eRhgmoeOM9lLqy-Ozw1MbAB0GX-IcWAbg', NULL, '2023-08-28 20:02:15', '2023-08-28 20:02:15', NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for sys_user_log
|
||||
|
Loading…
Reference in New Issue
Block a user