mirror of
https://gitee.com/softnetcat/FCat.git
synced 2024-11-29 17:57:51 +08:00
提交最新的sql脚本
This commit is contained in:
parent
126f812480
commit
6691ac58ed
186
fcat.sql
186
fcat.sql
@ -2,15 +2,15 @@
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : localhost
|
||||
Source Server Version : 50505
|
||||
Source Server Version : 50611
|
||||
Source Host : localhost:3306
|
||||
Source Database : fcat
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50505
|
||||
Target Server Version : 50611
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2017-10-19 18:27:54
|
||||
Date: 2017-10-22 17:24:02
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
@ -28,122 +28,44 @@ CREATE TABLE `t_authority` (
|
||||
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`update_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1551 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2857 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of t_authority
|
||||
-- ----------------------------
|
||||
INSERT INTO `t_authority` VALUES ('1426', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1427', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1428', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1429', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1430', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1431', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1432', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1433', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1434', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1435', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1436', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1437', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1438', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1439', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1440', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1441', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1442', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1443', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1444', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1445', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1446', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1447', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1448', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1449', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1450', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1451', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1452', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1453', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1454', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1455', '2', 'group', '14', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1456', '2', 'group', '33', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1457', '2', 'group', '34', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1458', '2', 'group', '35', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1459', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1460', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1461', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1462', '2', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1463', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1464', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1465', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1466', '2', 'group', '14', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1467', '2', 'group', '33', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1468', '2', 'group', '34', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1469', '2', 'group', '35', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1470', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1471', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1472', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1473', '2', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1474', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1475', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1476', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1477', '2', 'group', '14', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1478', '2', 'group', '33', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1479', '2', 'group', '34', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1480', '2', 'group', '35', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1481', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1482', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1483', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1484', '2', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1485', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1486', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1487', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1488', '2', 'group', '14', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1489', '2', 'group', '33', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1490', '2', 'group', '34', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1491', '2', 'group', '35', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1492', '2', 'group', '3', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1493', '2', 'group', '4', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1494', '2', 'group', '5', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1495', '2', 'group', '23', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1496', '2', 'group', '10', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1497', '2', 'group', '11', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1498', '2', 'group', '12', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1499', '2', 'group', '13', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1500', '2', 'group', '14', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1501', '2', 'group', '15', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1502', '2', 'group', '24', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1503', '2', 'group', '27', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1504', '2', 'group', '16', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1505', '2', 'group', '17', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1506', '2', 'group', '18', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1507', '2', 'group', '19', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1508', '2', 'group', '20', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1509', '2', 'group', '21', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1510', '2', 'group', '22', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1511', '2', 'group', '28', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1512', '2', 'group', '32', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1513', '2', 'group', '33', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1514', '2', 'group', '34', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1515', '2', 'group', '35', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1530', '1', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1531', '1', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1532', '1', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1533', '1', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1534', '1', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1535', '1', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1536', '1', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1537', '1', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1538', '1', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1539', '1', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1540', '1', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1541', '1', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1542', '1', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1543', '1', 'group', '10', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1544', '1', 'group', '11', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1545', '1', 'group', '12', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1546', '1', 'group', '13', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1547', '1', 'group', '14', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1548', '1', 'group', '15', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1549', '1', 'group', '24', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('1550', '1', 'group', '27', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2824', '2', 'group', '13', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2825', '2', 'group', '5', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2826', '2', 'group', '1', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2827', '2', 'group', '6', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2828', '2', 'group', '7', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2829', '2', 'group', '8', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2830', '2', 'group', '21', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2831', '2', 'group', '14', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2832', '2', 'group', '33', 'menu', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2833', '2', 'group', '4', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2834', '2', 'group', '5', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2835', '2', 'group', '3', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2836', '2', 'group', '23', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2837', '2', 'group', '10', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2838', '2', 'group', '11', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2839', '2', 'group', '12', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2840', '2', 'group', '13', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2841', '2', 'group', '14', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2842', '2', 'group', '15', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2843', '2', 'group', '24', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2844', '2', 'group', '27', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2845', '2', 'group', '20', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2846', '2', 'group', '28', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2847', '2', 'group', '16', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2848', '2', 'group', '17', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2849', '2', 'group', '18', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2850', '2', 'group', '19', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2851', '2', 'group', '21', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2852', '2', 'group', '22', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2853', '2', 'group', '32', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2854', '2', 'group', '33', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2855', '2', 'group', '34', 'element', null, null);
|
||||
INSERT INTO `t_authority` VALUES ('2856', '2', 'group', '35', 'element', null, null);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for t_element
|
||||
@ -175,20 +97,18 @@ INSERT INTO `t_element` VALUES ('11', 'menuManager:btn_edit', 'button', '编辑'
|
||||
INSERT INTO `t_element` VALUES ('12', 'menuManager:btn_del', 'button', '删除', '/fcat-user/menu', '6', '0', '', 'DELETE', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('13', 'menuManager:btn_element_add', 'button', '新增元素', '/fcat-user/element', '6', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('14', 'menuManager:btn_element_edit', 'button', '编辑元素', '/fcat-user/element', '6', null, null, 'PUT', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('15', 'btn_element_del', 'button', '删除元素', '/fcat-user/element', '6', null, null, 'DELETE', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('15', 'menuManager:btn_element_del', 'button', '删除元素', '/fcat-user/element', '6', null, null, 'DELETE', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('16', 'groupManager:btn_add', 'button', '新增', '/fcat-user/group', '7', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('17', 'groupManager:btn_edit', 'button', '编辑', '/fcat-user/group', '7', null, null, 'PUT', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('18', 'groupManager:btn_del', 'button', '删除', '/fcat-user/group', '7', null, null, 'DELETE', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('19', 'groupManager:btn_userManager', 'button', '分配用户', '/fcat-user/group/{*}/user', '7', null, null, 'PUT', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('20', 'groupManager:btn_resourceManager', 'button', '分配权限', '/fcat-user/group/{*}/authority', '7', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('21', 'groupManager:menu', 'uri', '分配菜单', '/fcat-user/group/{*}/authority/menu', '7', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('22', 'groupManager:element', 'uri', '分配资源', '/fcat-user/group/{*}/authority/element', '7', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('22', 'groupManager:element', 'uri', '分配元素', '/fcat-user/group/{*}/authority/element', '7', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('23', 'userManager:view', 'uri', '查看', '/fcat-user/user', '1', '0', '', 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('24', 'menuManager:view', 'uri', '查看', '/fcat-user/menu', '6', '0', '', 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('27', 'menuManager:element_view', 'uri', '查看', '/fcat-user/element', '6', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('27', 'menuManager:element_view', 'uri', '查看元素', '/fcat-user/element', '6', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('28', 'groupManager:view', 'uri', '查看', '/fcat-user/group', '7', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('30', 'adminAPI:view', 'uri', '查看', '/fcat-user/swagger', '23', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('31', 'adminAPI:swagger', 'uri', '查看', '/fcat-user/v2', '23', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('32', 'groupTypeManager:view', 'uri', '查看', '/fcat-user/groupType', '8', null, null, 'GET', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('33', 'groupTypeManager:btn_add', 'button', '新增', '/fcat-user/groupType', '8', null, null, 'POST', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
INSERT INTO `t_element` VALUES ('34', 'groupTypeManager:btn_edit', 'button', '编辑', '/fcat-user/groupType', '8', null, null, 'PUT', '2017-10-06 15:24:15', '2017-10-06 15:24:15');
|
||||
@ -263,14 +183,14 @@ CREATE TABLE `t_menu` (
|
||||
-- Records of t_menu
|
||||
-- ----------------------------
|
||||
INSERT INTO `t_menu` VALUES ('1', 'userManager', '用户管理', '5', '/index/tUserList', 'fa fa-user', '0', '/adminSys/baseManager/userManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('5', 'baseManager', '基础配置', '13', null, 'fa fa-cog', '0', '/adminSys/baseManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('5', 'baseManager', '基础配置', '13', '/', 'fa fa-cog', '0', '/adminSys/baseManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('6', 'menuManager', '菜单管理', '5', '/index/tMenuList', 'fa fa-list', '0', '/adminSys/baseManager/menuManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('7', 'groupManager', '组织架构管理', '5', '/index/tGroupList', 'fa fa-users', '0', '/adminSys/baseManager/groupManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('8', 'groupTypeManager', '组织类型管理', '5', '/index/tGroupTypeList', 'fa fa-object-group', '0', '/adminSys/baseManager/groupTypeManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('13', 'adminSys', '权限管理系统', '-1', null, 'fa fa-terminal', '0', '/adminSys', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('14', 'contentSys', '区域管理系统', '-1', null, 'fa-newspaper-o', '0', '/contentSys', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('13', 'adminSys', '权限管理系统', '-1', '/', 'fa fa-terminal', '0', '/adminSys', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('14', 'contentSys', '区域管理系统', '-1', '/', 'fa-newspaper-o', '0', '/contentSys', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('21', 'dictManager', '数据字典', '5', '/index/dictList', 'fa fa-book', '0', '/adminSys/baseManager/dictManager', 'Y', '2017-10-06 15:36:15', '2017-10-06 15:36:15');
|
||||
INSERT INTO `t_menu` VALUES ('33', 'areaManager', '区域管理', '14', null, 'fa fa-map-o', '0', null, 'Y', '2017-10-17 21:44:03', '2017-10-17 21:44:03');
|
||||
INSERT INTO `t_menu` VALUES ('33', 'areaManager', '区域管理', '14', '/', 'fa fa-map-o', '0', null, 'Y', '2017-10-17 21:44:03', '2017-10-17 21:44:03');
|
||||
INSERT INTO `t_menu` VALUES ('34', 'country', '国家', '33', '/index/dictList', 'fa fa-clone', '0', null, 'Y', '2017-10-17 21:46:21', '2017-10-17 21:46:21');
|
||||
INSERT INTO `t_menu` VALUES ('35', 'province', '省会', '33', '/index/dictList', 'fa fa-film', '0', null, 'Y', '2017-10-17 21:49:49', '2017-10-17 21:49:49');
|
||||
|
||||
@ -280,7 +200,7 @@ INSERT INTO `t_menu` VALUES ('35', 'province', '省会', '33', '/index/dictList'
|
||||
DROP TABLE IF EXISTS `t_user`;
|
||||
CREATE TABLE `t_user` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(255) DEFAULT NULL,
|
||||
`username` varchar(255) NOT NULL,
|
||||
`password` varchar(255) DEFAULT NULL,
|
||||
`name` varchar(255) DEFAULT NULL,
|
||||
`birthday` varchar(255) DEFAULT NULL,
|
||||
@ -292,8 +212,9 @@ CREATE TABLE `t_user` (
|
||||
`status` char(1) DEFAULT 'Y' COMMENT '''Y''-激活,''N''-未激活,''D''-已删除',
|
||||
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`update_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `username` (`username`) USING HASH
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of t_user
|
||||
@ -317,14 +238,19 @@ CREATE TABLE `t_user_group` (
|
||||
`create_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
`update_time` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of t_user_group
|
||||
-- ----------------------------
|
||||
INSERT INTO `t_user_group` VALUES ('36', '1', '1', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('37', '1', '2', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('38', '1', '5', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('39', '1', '3', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('40', '1', '5', 'member', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('41', '1', '7', 'member', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('43', '1', '1', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('44', '2', '1', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('45', '2', '2', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('46', '2', '3', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('47', '2', '4', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('48', '2', '5', 'leader', null, null);
|
||||
INSERT INTO `t_user_group` VALUES ('49', '2', '7', 'leader', null, null);
|
||||
|
Loading…
Reference in New Issue
Block a user