/*
Navicat MySQL Data Transfer
Source Server : 127.0.0.1
Source Server Version : 50723
Source Host : 127.0.0.1:3306
Source Database : pinellia
Target Server Type : MYSQL
Target Server Version : 50723
File Encoding : 65001
Date: 2019-07-25 17:16:09
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `tc_auth_menu`
-- ----------------------------
DROP TABLE IF EXISTS `tc_auth_menu`;
CREATE TABLE `tc_auth_menu` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`code` varchar(16) NOT NULL COMMENT '菜单编码',
`name` varchar(64) NOT NULL COMMENT '菜单名称',
`func` varchar(256) DEFAULT NULL COMMENT '前端功能,如果是菜单的话对应菜单路径,如果是按钮的话,对应按钮编码',
`mapping` varchar(256) DEFAULT NULL COMMENT '后台接口对应的路径,即springmvc的requestMapping',
`parentCode` varchar(16) DEFAULT NULL COMMENT '上级菜单,顶层菜单的上级菜单为空',
`level` int(3) DEFAULT NULL COMMENT '层级',
`sequence` int(3) DEFAULT NULL COMMENT '顺序',
`type` int(1) DEFAULT NULL COMMENT '是否在菜单上展示,0:不展示为菜单(按钮或者纯后台api),1:展示为菜单',
`state` int(1) NOT NULL DEFAULT '0' COMMENT '状态,0:正常,1:删除,2:停用',
`authType` int(1) DEFAULT NULL COMMENT '权限类型,0:无需权限,1:超级管理员,2:操作员',
PRIMARY KEY (`id`,`code`)
) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tc_auth_menu
-- ----------------------------
INSERT INTO `tc_auth_menu` VALUES ('1', 'SYS', '系统管理', '', '', '', '0', '21', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('2', 'SYS_USER', '用户管理', 'console/user/userIndex.html', '/user/**', 'SYS', '1', '1', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('3', 'SYS_ROLE', '角色管理', 'console/role/roleIndex.html', '/role/**', 'SYS', '1', '2', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('4', 'SYS_ORG', '组织机构', 'console/org/orgIndex.html', '/org/**', 'SYS', '1', '3', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('5', 'SYS_MENU', '菜单管理', 'console/menu/menuIndex.html', '/menu/**', 'SYS', '1', '4', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('6', 'SYS_DICT', '数据字典', 'console/dict/dictIndex.html', '/dict/**', 'SYS', '1', '6', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('7', 'SYS_AUTH', '权限管理', '', '/auth/**', 'SYS', '1', '8', '0', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('8', 'SYS_LOG', '操作日志', 'console/log/operationLogIndex.html', '/operationLog/findOperationLogPage', 'SYS', '1', '7', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('9', 'SYS_PARAM', '系统参数', 'console/sysParam/sysParamIndex.html', '/sysParam/**', 'SYS', '1', '6', '1', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('21', 'COMMON', '通用功能', '', '', '', '0', '22', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('22', 'FIND_MENU', '查询菜单信息', 'READ', '/auth/findMenu', 'COMMON', '1', '1', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('23', 'FIND_DICT', '查询数据字典', 'READ', '/dict/findDict', 'COMMON', '1', '2', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('24', 'UPDATE_PASSWD', '修改密码', 'UPDATE', '/user/updatePassword', 'COMMON', '1', '3', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('25', 'FIND_USER_INFO', '查询当前登录的用户信息', '', '/auth/findUserInfo', 'COMMON', '1', '4', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('26', 'FIND_USER_ORG', '查询登录用户的组织信息', '', '/org/findOrg', 'COMMON', '1', '5', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('31', 'Bind_WX', '帐号绑定微信', '', '/common/bindWxId', 'COMMON', '1', '6', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('32', 'Unbind_WX', '解绑微信帐号', '', '/common/unbindWxId', 'COMMON', '1', '7', '0', '0', '0');
INSERT INTO `tc_auth_menu` VALUES ('41', 'OCR', 'ocr识别', 'READ', '/ocr/**', '', '0', '23', '0', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('42', 'BAIDU_OCR_TOKEN', '获取百度OCR的TOKEN', 'READ', '/ocr/findBaiduOcrToken', 'OCR', '1', '1', '0', '0', '1');
INSERT INTO `tc_auth_menu` VALUES ('43', 'BAIDU_OCR_WORD', '百度OCR图片识别文字', 'READ', '/ocr/iamgeRecognition', 'OCR', '1', '2', '0', '0', '1');
-- ----------------------------
-- Table structure for `tc_auth_org`
-- ----------------------------
DROP TABLE IF EXISTS `tc_auth_org`;
CREATE TABLE `tc_auth_org` (
`code` varchar(64) NOT NULL COMMENT '组织编码,每层编码在上层的编码下增加4位数字',
`name` varchar(64) NOT NULL COMMENT '组织名称',
`parentCode` varchar(64) DEFAULT NULL COMMENT '上层组织编码',
`level` int(3) DEFAULT NULL COMMENT '层级',
`sequence` int(3) DEFAULT NULL COMMENT '顺序',
`state` int(1) NOT NULL DEFAULT '0' COMMENT '状态,0:正常,1:删除,2:停用',
PRIMARY KEY (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tc_auth_org
-- ----------------------------
INSERT INTO `tc_auth_org` VALUES ('0001', '根节点', '', '1', '1', '0');
-- ----------------------------
-- Table structure for `tc_auth_org_user`
-- ----------------------------
DROP TABLE IF EXISTS `tc_auth_org_user`;
CREATE TABLE `tc_auth_org_user` (
`username` varchar(64) NOT NULL COMMENT '用户名',
`orgCode` varchar(64) NOT NULL COMMENT '组织编码'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tc_auth_org_user
-- ----------------------------
INSERT INTO `tc_auth_org_user` VALUES ('admin', '0001');
INSERT INTO `tc_auth_org_user` VALUES ('car', '0001');
INSERT INTO `tc_auth_org_user` VALUES ('user', '00010001');
INSERT INTO `tc_auth_org_user` VALUES ('user', '0001');
INSERT INTO `tc_auth_org_user` VALUES ('userdf', '00010001');
INSERT INTO `tc_auth_org_user` VALUES ('market', '00010001');
-- ----------------------------
-- Table structure for `tc_auth_role`
-- ----------------------------
DROP TABLE IF EXISTS `tc_auth_role`;
CREATE TABLE `tc_auth_role` (
`roleId` int(10) NOT NULL AUTO_INCREMENT COMMENT '角色Id',
`roleName` varchar(64) NOT NULL COMMENT '角色名称',
`orgCode` varchar(64) DEFAULT NULL COMMENT '组织结构编码',
`authType` int(1) DEFAULT NULL COMMENT '权限类型,1:超级管理员,2:操作员',
PRIMARY KEY (`roleId`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tc_auth_role
-- ----------------------------
INSERT INTO `tc_auth_role` VALUES ('1', '超级管理员', '0001', '1');
-- ----------------------------
-- Table structure for `tc_auth_role_menu`
-- ----------------------------
DROP TABLE IF EXISTS `tc_auth_role_menu`;
CREATE TABLE `tc_auth_role_menu` (
`roleId` int(10) NOT NULL COMMENT '角色Id',
`menuCode` varchar(16) NOT NULL COMMENT '菜单编码'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tc_auth_role_menu
-- ----------------------------
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'FIND_MENU');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'COMMON');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'FIND_DICT');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'SYS_LOG');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'SYS_PARAM');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'UPDATE_PASSWD');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'BAIDU_OCR_TOKEN');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'OCR');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'BAIDU_OCR_WORD');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'SYS');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'SYS_USER');
INSERT INTO `tc_auth_role_menu` VALUES ('1', 'Bind_WX');
INSERT INTO `tc
没有合适的资源?快使用搜索试试~ 我知道了~
基于spring和react开发的前后端分离项目,后台使用springboot+hibernate+security等技术,前端使用react+axios+antd等框架,数据库使用mysql5.5+。项目已经开发了后台管理模块,包括用户、角色、组织、菜单、字典、系统参数、操作日志等模块,并整合了微信小程序、百度ocr等资源。可直接用于项目开发使用,也可以用于技术学习。
资源推荐
资源详情
资源评论


















收起资源包目录




共 3 条
- 1
资源评论

- 铥铥2022-08-15#运行出错
- zyh_newair2021-05-30比较垃圾,运行起来了,无法登录.运行过程有好几处代码报错!
- damfool2021-03-04下载了,学习react,不错,赞一个
- muma_biubiu2020-12-28没有后端呀
- zhim_zhang2020-05-13这是我下载的最全的一个前后端分离的项目,作为管理信息系统够够的了,非常作者的分享
蓝色格子衫
- 粉丝: 6
- 资源: 3

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制
