-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- 主机： localhost
-- 生成日期： 2023-08-21 17:53:21
-- 服务器版本： 5.7.26
-- PHP 版本： 7.3.4

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


-- --------------------------------------------------------

-- 表的结构 `uc_permission`
--

CREATE TABLE `uc_permission` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '权限Id，per_id',
  `parent_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '父节点Id，根目录统一为0',
  `per_code` varchar(50) NOT NULL DEFAULT '' COMMENT '权限编码（用于前端控制）',
  `per_name` varchar(50) NOT NULL COMMENT '权限名',
  `path` varchar(100) DEFAULT '' COMMENT '节点路径',
  `per_url` varchar(100) DEFAULT '' COMMENT '访问地址',
  `per_icon` varchar(20) NOT NULL DEFAULT '' COMMENT '权限图标',
  `per_type` char(8) NOT NULL DEFAULT '' COMMENT '权限类型，菜单与普通按钮（MENU,BUTTON）',
  `sort` int(10) UNSIGNED DEFAULT '0' COMMENT '排序，从小到大',
  `system_type` tinyint(3) UNSIGNED DEFAULT '1' COMMENT '系统类型，具体数值看配置表',
  `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '1' COMMENT '状态，0为禁用，1为启用',
  `remark` varchar(100) DEFAULT '' COMMENT '备注',
  `create_user` varchar(50) DEFAULT '' COMMENT '创建人',
  `create_time` varchar(50) DEFAULT NULL COMMENT '创建时间',
  `update_user` varchar(50) DEFAULT '' COMMENT '更新人',
  `update_time` varchar(50) DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='权限表，表简写 up' ROW_FORMAT=DYNAMIC;

--
-- 转存表中的数据 `uc_permission`
--

INSERT INTO `uc_permission` (`id`, `parent_id`, `per_code`, `per_name`, `path`, `per_url`, `per_icon`, `per_type`, `sort`, `system_type`, `status`, `remark`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES
(2, 0, '', '平台', ',0,2,', '', '', '', 0, 2, 1, '', 'gmadmin', '2017-11-15 09:57:07', NULL, NULL),
(3, 2, '', '用户中心', ',0,2,3,', '', 'icon-user', 'MENU', 99, 2, 1, '', 'gmadmin', '2017-11-15 09:57:07', NULL, NULL),
(4, 3, '', '用户管理', ',0,2,3,4,', '/user/usermanage', '', 'MENU', 4, 2, 1, '', 'gmadmin', '2017-11-15 09:57:07', NULL, NULL),
(5, 3, '', '角色管理', ',0,2,3,5,', '/user/rolemanage', '', 'MENU', 5, 2, 1, '', 'gmadmin', '2017-11-15 09:57:07', NULL, NULL),
(6, 11, '', '路由管理', ',0,2,11,6,', 'routemanage', '', 'MENU', 6, 2, 1, '', 'cmadmin', '2018-01-11 17:55:41', '', '2018-06-02 09:43:56'),
(7, 11, '', '权限管理', ',0,2,11,7,', '/setting/permissionmanage', '', 'MENU', 7, 2, 1, '', 'gmadmin', '2017-11-15 09:57:07', NULL, NULL),
(11, 2, '', '系统设置', ',0,2,11,', '', 'icon-setting', 'MENU', 100, 2, 1, '', 'gmadmin', '2019-03-05 19:55:01', NULL, NULL),
(1259, 7, 'UP-16', '权限管理-批量添加权限', ',0,2,11,7,1259,', '/ucpermission/batchinsertpermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1260, 7, 'UP-18', '权限管理-删除按钮权限', ',0,2,11,7,1260,', '/ucpermission/deletebatchpermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1261, 7, 'UP-12', '权限管理-获取权限按钮列表', ',0,2,11,7,1261,', '/ucpermission/getpermissionbuttonlist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1262, 7, 'UP-11', '权限管理-获取权限树列表', ',0,2,11,7,1262,', '/ucpermission/getpermissionmenulist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1263, 7, 'UP-13', '权限管理-添加权限', ',0,2,11,7,1263,', '/ucpermission/insertpermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1264, 7, 'UP-15', '权限管理-刷新权限', ',0,2,11,7,1264,', '/ucpermission/refreshpermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1265, 7, 'UP-17', '权限管理-设置启用禁用', ',0,2,11,7,1265,', '/ucpermission/setpermissionenable', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1266, 7, 'UP-14', '权限管理-更新权限', ',0,2,11,7,1266,', '/ucpermission/updatepermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:21:17', '', NULL),
(1267, 6, 'URT-10', '路由管理-获取基础路由列表', ',0,2,11,6,1267,', '/ucroute/getroutelist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:14', '', NULL),
(1268, 4, '', '用户管理-获取用户下拉列表', ',0,2,3,4,1268,', '/ucuser/getuserdropdownlist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:26', '', NULL),
(1269, 4, 'UU-10', '用户管理-获取用户分页列表', ',0,2,3,4,1269,', '/ucuser/getuserlist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:26', '', NULL),
(1270, 4, 'UU-11', '用户管理-新增用户', ',0,2,3,4,1270,', '/ucuser/insertuser', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:32', '', NULL),
(1271, 4, 'UU-13', '用户管理-重置密码', ',0,2,3,4,1271,', '/ucuser/resetpassword', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:32', '', NULL),
(1272, 4, 'UU-12', '用户管理-更新用户', ',0,2,3,4,1272,', '/ucuser/updateuser', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:32', '', NULL),
(1273, 4, '', '用户修改密码', ',0,2,3,4,1273,', '/updateuserpassword', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:32', '', NULL),
(1274, 5, 'URL-16', '角色管理-获取权限树列表', ',0,2,3,5,1274,', '/ucrole/getpermissiontree', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1275, 5, '', '角色管理-获取角色下拉列表', ',0,2,3,5,1275,', '/ucrole/getroledropdownlist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1276, 5, 'URL-10', '角色管理-获取角色分页列表', ',0,2,3,5,1276,', '/ucrole/getrolelist', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1277, 5, 'URL-20', '角色管理-获取角色权限列表', ',0,2,3,5,1277,', '/ucrole/getrolepermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1278, 5, 'URL-11', '角色管理-新增角色', ',0,2,3,5,1278,', '/ucrole/insertrole', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1279, 5, 'URL-21', '角色管理-设置角色权限', ',0,2,3,5,1279,', '/ucrole/insertrolepermission', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1280, 5, 'URL-12', '角色管理-更新角色', ',0,2,3,5,1280,', '/ucrole/updaterole', '', 'BUTTON', 0, 2, 1, '', 'admin', '2022-04-08 21:23:44', '', NULL),
(1281, 2, '', '仪器管理', ',0,2,1281,', '', '', 'MENU', 0, 2, 1, '', 'super', '2023-08-21 17:52:57', '', NULL);

-- --------------------------------------------------------

--
-- 表的结构 `uc_role`
--

CREATE TABLE `uc_role` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '角色ID，role_id',
  `role_name` varchar(20) NOT NULL COMMENT '角色名',
  `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '1' COMMENT '状态，1为启用，0为禁用',
  `remark` varchar(100) DEFAULT '' COMMENT '备注',
  `create_user` varchar(50) DEFAULT '' COMMENT '创建人',
  `create_time` varchar(50) DEFAULT NULL COMMENT '创建时间',
  `update_user` varchar(50) DEFAULT '' COMMENT '更新人',
  `update_time` varchar(50) DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色表，表简写 ur' ROW_FORMAT=DYNAMIC;

--
-- 转存表中的数据 `uc_role`
--

INSERT INTO `uc_role` (`id`, `role_name`, `status`, `remark`, `create_user`, `create_time`, `update_user`, `update_time`) VALUES
(1, '超级管理员', 1, '', '', NULL, '', NULL),
(2, '管理员', 1, '', '', NULL, '', NULL),
(5, '普通用户', 1, '', 'super', '2022-05-02 15:46:01', '', NULL);
-- --------------------------------------------------------

--
-- 表的结构 `uc_role_per`
--

CREATE TABLE `uc_role_per` (
  `role_id` int(10) UNSIGNED NOT NULL COMMENT '角色Id',
  `per_id` int(10) UNSIGNED NOT NULL COMMENT '权限Id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色与权限关系表，表简写 urp' ROW_FORMAT=DYNAMIC;

--
-- 转存表中的数据 `uc_role_per`
--

INSERT INTO `uc_role_per` (`role_id`, `per_id`) VALUES
(1, 2),
(1, 3),
(1, 4),
(1, 5),
(1, 6),
(1, 7),
(1, 11),
(1, 1259),
(1, 1260),
(1, 1261),
(1, 1262),
(1, 1263),
(1, 1264),
(1, 1265),
(1, 1266),
(1, 1267),
(1, 1268),
(1, 1269),
(1, 1270),
(1, 1271),
(1, 1272),
(1, 1273),
(1, 1274),
(1, 1275),
(1, 1276),
(1, 1277),
(1, 1278),
(1, 1279),
(1, 1280),
(2, 2),
(2, 3),
(2, 4),
(2, 5),
(2, 1268),
(2, 1269),
(2, 1270),
(2, 1271),
(2, 1272),
(2, 1273),
(2, 1274),
(2, 1275),
(2, 1276),
(2, 1277),
(2, 1278),
(2, 1279),
(2, 1280);

-- --------------------------------------------------------

--
-- 表的结构 `uc_route`
--

CREATE TABLE `uc_route` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '路由Id，route_id',
  `system_type` tinyint(3) UNSIGNED DEFAULT '0' COMMENT '系统类型，具体数值看配置表',
  `route_type` tinyint(1) UNSIGNED DEFAULT '1' COMMENT '接口类型，具体数值看配置表',
  `button_perm` varchar(50) DEFAULT '' COMMENT '前端按钮权限',
  `http_method` char(6) DEFAULT '' COMMENT '请求方法',
  `route_path` varchar(190) NOT NULL DEFAULT '' COMMENT '路由路径',
  `middlewares` varchar(50) DEFAULT '' COMMENT '中间件',
  `method_name` varchar(50) DEFAULT '' COMMENT '方法名',
  `method_desc` varchar(100) DEFAULT '' COMMENT '方法描述',
  `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '1' COMMENT '状态，0为禁用，1为启用',
  `update_user` varchar(50) DEFAULT '' COMMENT '更新人',
  `update_time` varchar(50) DEFAULT NULL COMMENT '更新时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='路由表，表简写 urt' ROW_FORMAT=DYNAMIC;

--
-- 转存表中的数据 `uc_route`
--

INSERT INTO `uc_route` (`id`, `system_type`, `route_type`, `button_perm`, `http_method`, `route_path`, `middlewares`, `method_name`, `method_desc`, `status`, `update_user`, `update_time`) VALUES
(11449, 2, 1, NULL, 'GET', '/test', '[\"loginRequired\",\"permissionRequired\"]', 'test', '权限测试', 1, '', NULL),
(11450, 2, 1, NULL, 'POST', '/signin', '[]', 'signIn', '用户登录', 1, '', NULL),
(11451, 2, 1, NULL, 'POST', '/sendverifycode', '[]', 'sendVerifyCode', '发送验证码', 1, '', NULL),
(11452, 2, 1, NULL, 'POST', '/register', '[]', 'register', '用户注册', 1, '', NULL),
(11453, 2, 1, NULL, 'GET', '/signout', '[\"loginRequired\"]', 'signout', '退出登录', 1, '', NULL),
(11454, 2, 1, NULL, 'POST', '/updateuserpassword', '[\"loginRequired\"]', 'updateUserPassword', '用户修改密码', 1, '', NULL),
(11455, 2, 1, NULL, 'POST', '/resetuserpassword', '[]', 'resetUserPassword', '重置密码', 1, '', NULL),
(11456, 2, 1, NULL, 'POST', '/article/store', '[]', 'store', '文章 创建', 1, '', NULL),
(11457, 2, 1, NULL, 'DELETE', '/article/destory', '[]', 'destory', '文章 删除', 1, '', NULL),
(11458, 2, 1, NULL, 'PUT', '/article/update', '[]', 'update', '文章 更新', 1, '', NULL),
(11459, 2, 1, NULL, 'GET', '/article/index', '[]', 'index', '获取 文章 所有记录', 1, '', NULL),
(11460, 2, 1, NULL, 'GET', '/article/show', '[]', 'show', '获取 文章 某条记录', 1, '', NULL),
(11461, 2, 1, NULL, 'GET', '/basic/getwebsiteinfo', '[\"loginRequired\"]', 'getWebsiteInfo', '基础信息-获取网站信息', 1, '', NULL),
(11462, 2, 1, NULL, 'POST', '/basic/uploadsinglefile', '[\"loginRequired\"]', 'uploadSingleFile', '基础信息-上传单个文件', 1, '', NULL),
(11463, 2, 1, NULL, 'POST', '/goods/store', '[]', 'store', '商品 创建', 1, '', NULL),
(11464, 2, 1, NULL, 'DELETE', '/goods/destory', '[]', 'destory', '商品 删除', 1, '', NULL),
(11465, 2, 1, NULL, 'PUT', '/goods/update', '[]', 'update', '商品 更新', 1, '', NULL),
(11466, 2, 1, NULL, 'GET', '/goods/index', '[]', 'index', '获取 商品 所有记录', 1, '', NULL),
(11467, 2, 1, NULL, 'GET', '/goods/show', '[]', 'show', '获取 商品 某条记录', 1, '', NULL),
(11468, 2, 1, NULL, 'GET', '/goods/getgoodsbycategory', '[]', 'getGoodsByCategory', '获取 商品 根据 category', 1, '', NULL),
(11469, 2, 1, 'UL-10', 'GET', '/uclog/getloggerlist', '[\"loginRequired\",\"permissionRequired\"]', 'getLoggerList', '日志管理-获取日志分页列表', 1, '', NULL),
(11470, 2, 1, 'UL-15', 'POST', '/uclog/exportloggerlist', '[\"loginRequired\",\"permissionRequired\"]', 'exportLoggerList', '日志管理-导出日志列表', 1, '', NULL),
(11471, 2, 1, 'UP-11', 'GET', '/ucpermission/getpermissionmenulist', '[\"loginRequired\",\"permissionRequired\"]', 'getPermissionMenuList', '权限管理-获取权限树列表', 1, '', NULL),
(11472, 2, 1, 'UP-12', 'GET', '/ucpermission/getpermissionbuttonlist', '[\"loginRequired\",\"permissionRequired\"]', 'getPermissionButtonList', '权限管理-获取权限按钮列表', 1, '', NULL),
(11473, 2, 1, 'UP-13', 'POST', '/ucpermission/insertpermission', '[\"loginRequired\",\"permissionRequired\"]', 'insertPermission', '权限管理-添加权限', 1, '', NULL),
(11474, 2, 1, 'UP-14', 'POST', '/ucpermission/updatepermission', '[\"loginRequired\",\"permissionRequired\"]', 'updatePermission', '权限管理-更新权限', 1, '', NULL),
(11475, 2, 1, 'UP-15', 'GET', '/ucpermission/refreshpermission', '[\"loginRequired\",\"permissionRequired\"]', 'refreshPermission', '权限管理-刷新权限', 1, '', NULL),
(11476, 2, 1, 'UP-16', 'POST', '/ucpermission/batchinsertpermission', '[\"loginRequired\",\"permissionRequired\"]', 'batchInsertPermission', '权限管理-批量添加权限', 1, '', NULL),
(11477, 2, 1, 'UP-17', 'POST', '/ucpermission/setpermissionenable', '[\"loginRequired\",\"permissionRequired\"]', 'setPermissionEnable', '权限管理-设置启用禁用', 1, '', NULL),
(11478, 2, 1, 'UP-18', 'POST', '/ucpermission/deletebatchpermission', '[\"loginRequired\",\"permissionRequired\"]', 'deleteBatchPermission', '权限管理-删除按钮权限', 1, '', NULL),
(11479, 2, 1, 'URL-10', 'GET', '/ucrole/getrolelist', '[\"loginRequired\",\"permissionRequired\"]', 'getRoleList', '角色管理-获取角色分页列表', 1, '', NULL),
(11480, 2, 1, 'URL-16', 'GET', '/ucrole/getpermissiontree', '[\"loginRequired\",\"permissionRequired\"]', 'getPermissionTree', '角色管理-获取权限树列表', 1, '', NULL),
(11481, 2, 1, NULL, 'GET', '/ucrole/getroledropdownlist', '[\"loginRequired\"]', 'getRoleDropDownList', '角色管理-获取角色下拉列表', 1, '', NULL),
(11482, 2, 1, 'URL-11', 'POST', '/ucrole/insertrole', '[\"loginRequired\",\"permissionRequired\"]', 'insertRole', '角色管理-新增角色', 1, '', NULL),
(11483, 2, 1, 'URL-12', 'POST', '/ucrole/updaterole', '[\"loginRequired\",\"permissionRequired\"]', 'updateRole', '角色管理-更新角色', 1, '', NULL),
(11484, 2, 1, 'URL-20', 'GET', '/ucrole/getrolepermission', '[\"loginRequired\",\"permissionRequired\"]', 'getRolePermission', '角色管理-获取角色权限列表', 1, '', NULL),
(11485, 2, 1, 'URL-21', 'POST', '/ucrole/insertrolepermission', '[\"loginRequired\",\"permissionRequired\"]', 'insertRolePermission', '角色管理-设置角色权限', 1, '', NULL),
(11486, 2, 1, 'URT-10', 'GET', '/ucroute/getroutelist', '[\"loginRequired\",\"permissionRequired\"]', 'getRouteList', '路由管理-获取基础路由列表', 1, '', NULL),
(11487, 2, 1, NULL, 'GET', '/ucroute/insertroute', '[]', 'insertRoute', '', 1, '', NULL),
(11488, 2, 1, 'UU-10', 'GET', '/ucuser/getuserlist', '[\"loginRequired\",\"permissionRequired\"]', 'getUserList', '用户管理-获取用户分页列表', 1, '', NULL),
(11489, 2, 1, NULL, 'GET', '/ucuser/getuserdropdownlist', '[\"loginRequired\"]', 'getUserDropDownList', '用户管理-获取用户下拉列表', 1, '', NULL),
(11490, 2, 1, 'UU-11', 'POST', '/ucuser/insertuser', '[\"loginRequired\",\"permissionRequired\"]', 'insertUser', '用户管理-新增用户', 1, '', NULL),
(11491, 2, 1, 'UU-12', 'POST', '/ucuser/updateuser', '[\"loginRequired\",\"permissionRequired\"]', 'updateUser', '用户管理-更新用户', 1, '', NULL),
(11492, 2, 1, 'UU-13', 'POST', '/ucuser/resetpassword', '[\"loginRequired\",\"permissionRequired\"]', 'resetPassword', '用户管理-重置密码', 1, '', NULL);

-- --------------------------------------------------------

--
-- 表的结构 `uc_user`
--

CREATE TABLE `uc_user` (
  `id` int(10) UNSIGNED NOT NULL COMMENT '用户Id，user_id',
  `user_name` varchar(50) DEFAULT NULL COMMENT '用户登录名',
  `login_name` varchar(255) DEFAULT NULL COMMENT '登录（电话）',
  `password` varchar(45) DEFAULT NULL COMMENT '密码，限制6-15位需要md5加密',
  `open_id` varchar(255) DEFAULT NULL COMMENT '微信小程序openid',
  `organ_id` int(10) UNSIGNED DEFAULT '0' COMMENT '所属机构',
  `realname` varchar(20) DEFAULT NULL COMMENT '姓名',
  `sex` tinyint(1) UNSIGNED DEFAULT '0' COMMENT '性别，1男，2女，0保密',
  `role_ids` varchar(100) DEFAULT '' COMMENT '角色列表，以英文逗号分隔，0 表示无角色',
  `email` varchar(50) DEFAULT '' COMMENT '邮箱',
  `is_super` tinyint(1) UNSIGNED DEFAULT '0' COMMENT '是否超级管理员，0否，1是',
  `status` tinyint(1) UNSIGNED DEFAULT '1' COMMENT '状态，1启用，0禁用',
  `last_login_time` varchar(50) DEFAULT NULL COMMENT '最后登陆时间',
  `login_error` tinyint(3) DEFAULT '0' COMMENT '输错一次+1成功后重置为0，5次后锁定',
  `remark` varchar(200) DEFAULT '' COMMENT '备注',
  `create_user` varchar(50) DEFAULT '' COMMENT '创建人',
  `create_time` varchar(50) DEFAULT NULL COMMENT '创建时间',
  `update_user` varchar(50) DEFAULT '' COMMENT '更新人',
  `update_time` varchar(50) DEFAULT NULL COMMENT '更新时间',
  `avatar` varchar(255) DEFAULT NULL COMMENT '用户头像'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表，表简写 uu' ROW_FORMAT=DYNAMIC;

--
-- 转存表中的数据 `uc_user`
--

INSERT INTO `uc_user` (`id`, `user_name`, `login_name`, `password`, `open_id`, `organ_id`, `realname`, `sex`, `role_ids`, `email`, `is_super`, `status`, `last_login_time`, `login_error`, `remark`, `create_user`, `create_time`, `update_user`, `update_time`, `avatar`) VALUES
(1, 'super', '17628197241', '7cb9062d1c457cd7c0980a0f2db08d62', NULL, 1, '超级管理员', 0, ',1,1,', '', 1, 1, NULL, 0, '', '', '2022-04-08 21:15:54', '', '2022-04-08 21:40:19', NULL),
(262, 'admin', '17628197242', '7cb9062d1c457cd7c0980a0f2db08d62', '', 0, 'admin', 0, ',2,', '1111334111@qq.com', 0, 1, NULL, 0, '', 'admin', '2022-04-08 21:35:16', '', '2022-11-23 22:05:37', NULL),
(276, '未用', '17628197246', '7cb9062d1c457cd7c0980a0f2db08d62', 'oW6bk5JML8EpXeNqUELBpAIPXOY0', 0, '未更新用户信息', 0, ',5,', '1492753768@qq.com', 0, 1, NULL, 0, '', '未更新用户信息', '2022-11-23 22:57:41', '未用', '2022-11-27 20:31:03', 'http://localhost:3000/20221127200857543.webp');

--
-- 转储表的索引
--


--
-- 表的索引 `uc_permission`
--
ALTER TABLE `uc_permission`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- 表的索引 `uc_role`
--
ALTER TABLE `uc_role`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD UNIQUE KEY `uk_role_name` (`role_name`) USING BTREE;

--
-- 表的索引 `uc_role_per`
--
ALTER TABLE `uc_role_per`
  ADD PRIMARY KEY (`role_id`,`per_id`) USING BTREE;

--
-- 表的索引 `uc_route`
--
ALTER TABLE `uc_route`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD UNIQUE KEY `uk_apptype_routetype_routepath` (`system_type`,`route_type`,`route_path`) USING BTREE,
  ADD UNIQUE KEY `uk_button_perm` (`button_perm`) USING BTREE;

--
-- 表的索引 `uc_user`
--
ALTER TABLE `uc_user`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD UNIQUE KEY `uk_login_name` (`login_name`) USING BTREE,
  ADD KEY `uk_user_name` (`user_name`) USING BTREE;

--
-- 在导出的表使用AUTO_INCREMENT
--
--
-- 使用表AUTO_INCREMENT `uc_permission`
--
ALTER TABLE `uc_permission`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '权限Id，per_id', AUTO_INCREMENT=1282;

--
-- 使用表AUTO_INCREMENT `uc_role`
--
ALTER TABLE `uc_role`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '角色ID，role_id', AUTO_INCREMENT=6;

--
-- 使用表AUTO_INCREMENT `uc_route`
--
ALTER TABLE `uc_route`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '路由Id，route_id', AUTO_INCREMENT=11493;

--
-- 使用表AUTO_INCREMENT `uc_user`
--
ALTER TABLE `uc_user`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '用户Id，user_id', AUTO_INCREMENT=277;
COMMIT;
