修改数据库初始化数据
parent
6d07acd906
commit
f338332bf0
|
@ -9,6 +9,7 @@
|
||||||
**近期有一位读者购买了一份毕业设计后,发现自己“重金”购买的项目却是笔者在去年开源到gitee上的项目,并且对方卷完钱后就拉黑走人。**
|
**近期有一位读者购买了一份毕业设计后,发现自己“重金”购买的项目却是笔者在去年开源到gitee上的项目,并且对方卷完钱后就拉黑走人。**
|
||||||
|
|
||||||
特此曝光此人,希望读者朋友们不要再上当受骗了~!!!
|
特此曝光此人,希望读者朋友们不要再上当受骗了~!!!
|
||||||
|
|
||||||
![](https://img-blog.csdnimg.cn/f5887f7bb3034964a9665987d9e01292.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5LqR5Li26KiA,size_20,color_FFFFFF,t_70,g_se,x_16)
|
![](https://img-blog.csdnimg.cn/f5887f7bb3034964a9665987d9e01292.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5LqR5Li26KiA,size_20,color_FFFFFF,t_70,g_se,x_16)
|
||||||
|
|
||||||
**网站制作者为大二在读学生,若网站在设计中存在不足之处,还请各位大牛指正!!!**
|
**网站制作者为大二在读学生,若网站在设计中存在不足之处,还请各位大牛指正!!!**
|
||||||
|
@ -21,11 +22,11 @@
|
||||||
|
|
||||||
# 快速体验
|
# 快速体验
|
||||||
|
|
||||||
**用户模块:**[http://119.91.222.184/user/login](http://119.91.222.184)(账号-密码:bosen_once@163.com-123456)
|
**用户模块:**[http://119.91.222.184/user/login](http://119.91.222.184)(账号-密码:guest@qq.com-123456)
|
||||||
|
|
||||||
**商户模块:**[http://119.91.222.184/merchant/login](http://119.91.222.184/merchant/login)(账号-密码:warrior@qq.com-123456)
|
**商户模块:**[http://119.91.222.184/merchant/login](http://119.91.222.184/merchant/login)(账号-密码:guest@qq.com-123456)
|
||||||
|
|
||||||
**后台模块:**[http://119.91.222.184/admin/login](http://119.91.222.184/admin/login)(账号-密码:bosen_once@163.com-123456)
|
**后台模块:**[http://119.91.222.184/admin/login](http://119.91.222.184/admin/login)(账号-密码:guest@qq.com-123456)
|
||||||
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
30
jieyue.sql
30
jieyue.sql
|
@ -11,7 +11,7 @@
|
||||||
Target Server Version : 50716
|
Target Server Version : 50716
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 06/12/2021 21:17:08
|
Date: 04/03/2022 21:23:36
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
|
@ -52,13 +52,14 @@ CREATE TABLE `sys_admin` (
|
||||||
`mark` tinyint(3) NOT NULL COMMENT '管理员标记',
|
`mark` tinyint(3) NOT NULL COMMENT '管理员标记',
|
||||||
PRIMARY KEY (`id`) USING BTREE,
|
PRIMARY KEY (`id`) USING BTREE,
|
||||||
UNIQUE INDEX `email`(`email`) USING BTREE
|
UNIQUE INDEX `email`(`email`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_admin
|
-- Records of sys_admin
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `sys_admin` VALUES (1, 'bosen', 'e10adc3949ba59abbe56e057f20f883e', 'bosen_once@163.com', 1);
|
INSERT INTO `sys_admin` VALUES (1, 'bosen', 'b9e1115fb6e950878b08e2433b53ed47', 'bosen_once@163.com', 1);
|
||||||
INSERT INTO `sys_admin` VALUES (2, '2390025289@qq.com', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 1);
|
INSERT INTO `sys_admin` VALUES (2, '2390025289@qq.com', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 1);
|
||||||
|
INSERT INTO `sys_admin` VALUES (3, 'guest', 'e10adc3949ba59abbe56e057f20f883e', 'guest@qq.com', 1);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_admin_role
|
-- Table structure for sys_admin_role
|
||||||
|
@ -70,12 +71,13 @@ CREATE TABLE `sys_admin_role` (
|
||||||
`role_id` int(11) NOT NULL,
|
`role_id` int(11) NOT NULL,
|
||||||
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1启用 0未启用',
|
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1启用 0未启用',
|
||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_admin_role
|
-- Records of sys_admin_role
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `sys_admin_role` VALUES (1, 1, 1, 1);
|
INSERT INTO `sys_admin_role` VALUES (1, 1, 2, 1);
|
||||||
|
INSERT INTO `sys_admin_role` VALUES (2, 3, 4, 1);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_cart
|
-- Table structure for sys_cart
|
||||||
|
@ -254,7 +256,7 @@ INSERT INTO `sys_mt` VALUES (8, 'Adidas阿迪达斯', 'adidas@qq.com', 'e10adc39
|
||||||
INSERT INTO `sys_mt` VALUES (9, 'Puma彪马', 'puma@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 1.0, 0, '/data/header/merchant/9/20210322193031653785.jpg');
|
INSERT INTO `sys_mt` VALUES (9, 'Puma彪马', 'puma@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 1.0, 0, '/data/header/merchant/9/20210322193031653785.jpg');
|
||||||
INSERT INTO `sys_mt` VALUES (11, 'TEST测试商户', 'bosen_once@163.com', 'e10adc3949ba59abbe56e057f20f883e', 1.0, 1, '/data/header/merchant/11/20210330220121874813.jpeg');
|
INSERT INTO `sys_mt` VALUES (11, 'TEST测试商户', 'bosen_once@163.com', 'e10adc3949ba59abbe56e057f20f883e', 1.0, 1, '/data/header/merchant/11/20210330220121874813.jpeg');
|
||||||
INSERT INTO `sys_mt` VALUES (12, 'LI-NING李宁', 'lining@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/12/20210330170610424273.jpeg');
|
INSERT INTO `sys_mt` VALUES (12, 'LI-NING李宁', 'lining@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/12/20210330170610424273.jpeg');
|
||||||
INSERT INTO `sys_mt` VALUES (13, 'WARRIOR回力', 'warrior@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/13/20210330170639894124.jpeg');
|
INSERT INTO `sys_mt` VALUES (13, 'WARRIOR回力', 'guest@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/13/20210330170639894124.jpeg');
|
||||||
INSERT INTO `sys_mt` VALUES (14, 'ANTA安踏', 'anta@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/14/20210330170723131771.jpeg');
|
INSERT INTO `sys_mt` VALUES (14, 'ANTA安踏', 'anta@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 0.1, 1, '/data/header/merchant/14/20210330170723131771.jpeg');
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
@ -396,7 +398,7 @@ CREATE TABLE `sys_role` (
|
||||||
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色名',
|
`name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色名',
|
||||||
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1已启用 0未启用',
|
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1已启用 0未启用',
|
||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_role
|
-- Records of sys_role
|
||||||
|
@ -404,6 +406,7 @@ CREATE TABLE `sys_role` (
|
||||||
INSERT INTO `sys_role` VALUES (1, '未定义角色', 1);
|
INSERT INTO `sys_role` VALUES (1, '未定义角色', 1);
|
||||||
INSERT INTO `sys_role` VALUES (2, '超级管理员', 1);
|
INSERT INTO `sys_role` VALUES (2, '超级管理员', 1);
|
||||||
INSERT INTO `sys_role` VALUES (3, '普通管理员', 1);
|
INSERT INTO `sys_role` VALUES (3, '普通管理员', 1);
|
||||||
|
INSERT INTO `sys_role` VALUES (4, '后台访问者', 1);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_role_access
|
-- Table structure for sys_role_access
|
||||||
|
@ -415,7 +418,7 @@ CREATE TABLE `sys_role_access` (
|
||||||
`access_id` int(11) NOT NULL,
|
`access_id` int(11) NOT NULL,
|
||||||
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1启用 0未启用',
|
`status` tinyint(3) NOT NULL DEFAULT 1 COMMENT '1启用 0未启用',
|
||||||
PRIMARY KEY (`id`) USING BTREE
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_role_access
|
-- Records of sys_role_access
|
||||||
|
@ -425,6 +428,13 @@ INSERT INTO `sys_role_access` VALUES (10, 2, 2, 1);
|
||||||
INSERT INTO `sys_role_access` VALUES (11, 2, 3, 1);
|
INSERT INTO `sys_role_access` VALUES (11, 2, 3, 1);
|
||||||
INSERT INTO `sys_role_access` VALUES (12, 2, 4, 1);
|
INSERT INTO `sys_role_access` VALUES (12, 2, 4, 1);
|
||||||
INSERT INTO `sys_role_access` VALUES (13, 2, 5, 1);
|
INSERT INTO `sys_role_access` VALUES (13, 2, 5, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (14, 4, 1, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (15, 4, 2, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (16, 4, 3, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (17, 4, 4, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (18, 4, 5, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (19, 4, 6, 1);
|
||||||
|
INSERT INTO `sys_role_access` VALUES (20, 4, 7, 1);
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for sys_ui
|
-- Table structure for sys_ui
|
||||||
|
@ -510,8 +520,8 @@ CREATE TABLE `sys_user` (
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Records of sys_user
|
-- Records of sys_user
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
INSERT INTO `sys_user` VALUES (1, 'Bosen', 'e10adc3949ba59abbe56e057f20f883e', 'bosen_once@163.com', 1, '/data/header/user/1.jpg');
|
INSERT INTO `sys_user` VALUES (1, 'Bosen', 'b9e1115fb6e950878b08e2433b53ed47', 'bosen_once@163.com', 1, '/data/header/user/1.jpg');
|
||||||
INSERT INTO `sys_user` VALUES (3, 'bosen_once@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 'bosen_once@qq.com', 1, '/data/header/user/default.jpg');
|
INSERT INTO `sys_user` VALUES (3, 'guest@', 'e10adc3949ba59abbe56e057f20f883e', 'guest@qq.com', 1, '/data/header/user/default.jpg');
|
||||||
INSERT INTO `sys_user` VALUES (4, 'test111', 'e10adc3949ba59abbe56e057f20f883e', '806317173@qq.com', 0, '/data/header/user/default.jpg');
|
INSERT INTO `sys_user` VALUES (4, 'test111', 'e10adc3949ba59abbe56e057f20f883e', '806317173@qq.com', 0, '/data/header/user/default.jpg');
|
||||||
INSERT INTO `sys_user` VALUES (5, 'lalalal', 'e10adc3949ba59abbe56e057f20f883e', '2390025288@qq.com', 0, '/data/header/user/default.jpg');
|
INSERT INTO `sys_user` VALUES (5, 'lalalal', 'e10adc3949ba59abbe56e057f20f883e', '2390025288@qq.com', 0, '/data/header/user/default.jpg');
|
||||||
INSERT INTO `sys_user` VALUES (7, '2390025289@qq.com', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 1, '/data/header/user/default.jpg');
|
INSERT INTO `sys_user` VALUES (7, '2390025289@qq.com', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 1, '/data/header/user/default.jpg');
|
||||||
|
|
Loading…
Reference in New Issue