From 12dba22beb4bfc47f9e330308baa46e9b4924b32 Mon Sep 17 00:00:00 2001 From: "yadong.zhang" Date: Sat, 1 Jun 2019 13:01:51 +0800 Subject: [PATCH] :bug: Fixing a bug. --- docs/db/init_data.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/db/init_data.sql b/docs/db/init_data.sql index 5c34a4d..9be9e82 100644 --- a/docs/db/init_data.sql +++ b/docs/db/init_data.sql @@ -276,9 +276,9 @@ INSERT INTO `dblog`.`sys_role_resources` VALUES ('96', '3', '49', now(), now()); # 清空系统用户表 TRUNCATE TABLE `dblog`.`sys_user`; # 初始化系统用户 -INSERT INTO `dblog`.`sys_user` VALUES ('1', 'root', 'CGUx1FN++xS+4wNDFeN6DA==', '超级管理员', '15151551516', '843977358@qq.com', '843977358', null, null, 'https://static.zhyd.me/static/img/favicon.ico', 'ROOT', null, null, null, 'ZHYD', null, null, '0', '0', null, '0:0:0:0:0:0:0:1', now(), '177', null, '1', now(), now()); -INSERT INTO `dblog`.`sys_user` VALUES ('2', 'admin', 'gXp2EbyZ+sB/A6QUMhiUJQ==', '管理员', '15151551516', '843977358@qq.com', '843977358', null, null, null, 'ADMIN', null, null, null, 'ZHYD', '1', '1', '0', '0', '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1', now(), '2', null, '1', now(), now()); -INSERT INTO `dblog`.`sys_user` VALUES ('3', 'comment-admin', 'x9qCx3yP05yWfIE5wXbCsg==', '评论审核管理员', '', '', '', null, null, null, 'ADMIN', null, null, null, 'ZHYD', '1', '1', '0', '0', '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1', now(), '1', null, '1', now(), now()); +INSERT INTO `dblog`.`sys_user` VALUES (1, 'root', 'CGUx1FN++xS+4wNDFeN6DA==', '超级管理员', '15151551516', '843977358@qq.com', '843977358', NULL, NULL, 'https://static.zhyd.me/static/img/favicon.ico', 'ROOT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, '0:0:0:0:0:0:0:1', '2019-06-01 11:59:23', 254, NULL, 1, now(), now()); +INSERT INTO `dblog`.`sys_user` VALUES (2, 'admin', 'gXp2EbyZ+sB/A6QUMhiUJQ==', '管理员', '15151551516', '843977358@qq.com', '843977358', NULL, NULL, NULL, 'ADMIN', NULL, NULL, NULL, NULL, NULL, 1, 1, 0, 0, '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1',now(), 2, NULL, 1,now(),now()); +INSERT INTO `dblog`.`sys_user` VALUES (3, 'comment-admin', 'x9qCx3yP05yWfIE5wXbCsg==', '评论审核管理员', '', '', '', NULL, NULL, NULL, 'ADMIN', NULL, NULL, NULL, NULL, NULL, 1, 1, 0, 0, '0:0:0:0:0:0:0:1', '0:0:0:0:0:0:0:1',now(), 1, NULL, 1,now(),now()); # 清空用户角色关联数据 TRUNCATE TABLE `dblog`.`sys_user_role`; -- GitLab